self.moveTO()

Ask for help about NoScript, no registration needed to post
schliden

self.moveTO()

Post 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.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: self.moveTO()

Post by Giorgio Maone »

It's not NoScript, it's Firefox itself.
Check Tools|Options|Content|Enable Javascript - Advanced
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
schliden

Re: self.moveTO()

Post 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 !
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: self.moveTO()

Post 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).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1pre) Gecko/20090717 SeaMonkey/2.0b1
schliden

Re: self.moveTO()

Post 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 !
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: self.moveTO()

Post by Giorgio Maone »

They both work for me, with NoScript installed...
You probably need to try Standard Diagnostic.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Post Reply