Page 1 of 1

self.moveTO()

Posted: Tue Aug 18, 2009 6:57 am
by schliden
Does noscript block the javascript:self.moveTo() function ?

I am trying to create a bookmarklet for personal use in FF on os x, but cannot get the above to work.

Re: self.moveTO()

Posted: Tue Aug 18, 2009 10:46 am
by Giorgio Maone
It's not NoScript, it's Firefox itself.
Check Tools|Options|Content|Enable Javascript - Advanced

Re: self.moveTO()

Posted: Wed Aug 19, 2009 12:24 am
by schliden
Yes, I have already checked that, and the 'Move or resize exisiting windows' is already enabled.

I could not find any other reason for this, so thought it might be noscript...

Its a mystery !

Re: self.moveTO()

Posted: Wed Aug 19, 2009 12:41 am
by therube
If you Disable/Uninstall NoScript, does your bookmarklet work?
How about posting the code for the bookmarklet (not that I could help with that).

Re: self.moveTO()

Posted: Wed Aug 19, 2009 4:45 pm
by schliden
Bookmarklet is as follows:

Code: Select all

javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
The resize works, but the moveTo does not !

Re: self.moveTO()

Posted: Wed Aug 19, 2009 5:00 pm
by Giorgio Maone
They both work for me, with NoScript installed...
You probably need to try Standard Diagnostic.