Disallow special scripts

Bug reports and enhancement requests
Post Reply
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

Disallow special scripts

Post by Saad »

Hi,
Firefox has a good option. it is 'Options > Content > Advanced JavaScript Settings' . but scripts are just few. i think it is chance for NoScript ! to augment scripts. or even Noscript can add this capability: Users be able to define a disallow script. users should copy script in page source and paste it in Noscript option.

i think this is useful for many users to disallow scripts, like a script that not allow to select page's texts.

Maybe this feature exist in Noscript but i don't know :!: :?: :?: :?:
Last edited by Tom T. on Tue Sep 18, 2012 4:10 am, edited 1 time in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Disallow special scripts

Post by dhouwn »

Not directly, no, but there is a feature called surrogate scripts that makes it possible to insert scripts into websites that change the scripts there.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Disallow special scripts

Post by Tom T. »

Have you looked at Greasemonkey or Scriptish?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/12.0
Saad
Senior Member
Posts: 55
Joined: Sun Jan 23, 2011 12:32 pm

Re: Disallow special scripts

Post by Saad »

i don't want run new script. i want block some scripts.
Users be able to block special scripts. users should copy script in page source and paste it in Noscript option.
Last edited by Tom T. on Tue Sep 18, 2012 4:09 am, edited 1 time in total.
Reason: delete signature that contains commercial offer and link
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Disallow special scripts

Post by Tom T. »

Saad wrote:i don't want run new script. i want block some scripts.
Users be able to block special scripts. users should copy script in page source and paste it in Noscript option.
This is not practical. Right now, Yahoo Mail is running 107 scripts on my browser, and that is *mail only*. (yahoo.com is forbidden). Some of them are small, but some are as much as 80k.

If you mean, to put a code snippet into NS, and block all scripts matching that snippet, wouldn't it be easy for sites to do the same function in various different ways? (slightly different coding)

Just mark the ones you don't like as Untrusted, then they'll never bother you again. You need do this only once at each site.
Or leave them default-denied.

I don't think the idea is practical, but if Giorgio can do it, and wants to, no objection here.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/12.0
Post Reply