new idea for no-script

Bug reports and enhancement requests
Post Reply
ackit
Posts: 2
Joined: Tue Aug 17, 2010 10:20 pm

new idea for no-script

Post by ackit »

Is there already a way to let all javascript run but certain annoying code such as window placement, window sizing and things such as alert box's?
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
optimalcycling
Posts: 7
Joined: Tue Aug 17, 2010 10:19 pm

Re: new idea for no-script

Post by optimalcycling »

For Firefox, you can use Control de Scripts to selectively disable those javascript functions: https://addons.mozilla.org/en-US/firefox/addon/1154/

However, Control de Scripts can use a better interface because for some advanced blocking, you have to have detailed knowledge of javascript to know what to block and how to enter it in.

I've done something very similar in Google Chrome with my Better Pop Up Blocker extension that disables those annoying things. Basically, you reset those javascript functions to a null/anonymous function so they don't do much.
Author of NotScripts for Google Chrome, http://optimalcycling.com/other-projects/notscripts/
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.126 Safari/533.4
ackit
Posts: 2
Joined: Tue Aug 17, 2010 10:20 pm

Re: new idea for no-script

Post by ackit »

awesome, ill give it a try , thank you
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Post Reply