|
|
| Author |
Message |
jeffzeng
Joined: 12 May 2008
Posts: 3
|
Posted: Thu May 15, 2008 3:29 am Post subject: permission dennie with firefox |
|
|
I try to get the document title by using follow javascript code:
tool.explorer.document.getElementsByTagName('title')[0];
the firefox reports a 'permission dennied' error, |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Thu May 15, 2008 10:48 am Post subject: |
|
|
| please, use tool.title instead |
|
| Back to top |
|
 |
jeffzeng
Joined: 12 May 2008
Posts: 3
|
Posted: Thu May 15, 2008 6:39 pm Post subject: |
|
|
it doesn't work too. it has the 'undefine' value in IE7. it seems there is toolbar internal problem with firefox because there is no output at all with tool.title
here is my firefox version:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Fri May 16, 2008 4:59 am Post subject: |
|
|
tool.title is for Firefox, not IE.
So what browser do you use, IE or Firefox ? |
|
| Back to top |
|
 |
blp330
Joined: 06 Mar 2008
Posts: 13
|
Posted: Sat May 17, 2008 6:15 am Post subject: so |
|
|
This is what I mentioned before, if you makes api between ie and firefox more similar as possible, you can prevent many of these problems.
If you makes tool.title work for ie also, this is the best way to make developers (your customer) happy.
Oh, sorry, indeed, this is not my business.  |
|
| Back to top |
|
 |
|