[Resolved] Can just stop 1 script?

Ask for help about NoScript, no registration needed to post
nehuenkpo
Posts: 3
Joined: Tue Dec 20, 2011 3:57 am

[Resolved] Can just stop 1 script?

Post by nehuenkpo »

I'm just wondering if this plugin for firefox can stop only 1 javascript from a webpage and not the wole page
Last edited by Tom T. on Wed Dec 21, 2011 6:58 am, edited 2 times in total.
Reason: mark as resolved
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Can just stop 1 script?

Post by Tom T. »

nehuenkpo wrote:I'm just wondering if this plugin for firefox can stop only 1 javascript from a webpage and not the wole page
If you mean, allow script from goodsite.com, but not the others that show up in the menu, yes, easily. Just allow goodsite.com and leave the rest alone. They're automatically blocked, unless they're in the default whitelist, which you are also free to edit. (add, delete).

If you mean that Yahoo Mail runs 120 scripts or more, and you'd like to fine-tune permissions, then in NoScript > Options > Appearance, check "Full Addresses". Example: Default whitelist includes yahoo.com and yimg.com, so that novices can use Yahoo mail without any further effort. Displaying the scripts with full addresses will reveal that some come from mail.yahoo.com, and some from mail.yimg.com, so you could substitute those for the blanket allowing of the entire Yahoo domain.

If you are referring to multiple scripts with the same full domain name, you may be able to do this with ABE.

If you can provide a specific site address (URL), and which scripts you'd like to allow or disallow, we can help you with that. Please also review the NoScript Quick Start Guide and the NoScript FAQ.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
nehuenkpo
Posts: 3
Joined: Tue Dec 20, 2011 3:57 am

Re: Can just stop 1 script?

Post by nehuenkpo »

[quote="Tom T."][/quote]
Well, thansk for the reply

This is the site : http://elitecabal.com/

And these are the ONLY scripts I want to stop: (because it makes the page get lagged)
http://elitecabal.com/js/snow/ThreeCanvas.js
http://elitecabal.com/js/snow/Snow.js


I had try with C:\Windows\System32\drivers\etc\hosts I couldn't do it
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: Can just stop 1 script?

Post by Tom T. »

nehuenkpo wrote:This is the site : http://elitecabal.com/

And these are the ONLY scripts I want to stop: (because it makes the page get lagged)
http://elitecabal.com/js/snow/ThreeCanvas.js
http://elitecabal.com/js/snow/Snow.js
Leave that site.
Open NoScript Menu > Options > Advanced > ABE

Ensure that "Enable ABE" is checked.

Under "Rulesets" on the left, click "User"
Underneath "# User-defined rules. Feel free to experiment here."
add the following, immediately below it:

Code: Select all

Site elitecabal.com/js/snow/*
Deny
Click "Refresh", click "OK".

Now go back to the site. It stops snowing. And when I open JSView add-on, and try to read those two scripts, a nice bar at the top tells me that the attempt to GET them has been blocked by ABE. :)
I had try with C:\Windows\System32\drivers\etc\hosts I couldn't do it
I use HOSTS blocking myself, but it doesn't have such finely-tuned permissions as this. You can block a domain name, but not by things after the .com/
As soon as the domain elitecabal.com matches, its DNS lookup is redirected to 0.0.0.0 or 255.255.255.0 or wherever you mapped it in HOSTS.

ABE works, because its filter can block individual items rather than an entire domain.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
nehuenkpo
Posts: 3
Joined: Tue Dec 20, 2011 3:57 am

Re: Can just stop 1 script?

Post by nehuenkpo »

Thanks you very mach.
That's what I was looking for.
Happy holidays & kind regards.
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

[Resolved] Can just stop 1 script?

Post by Tom T. »

You're very welcome. I will mark this as resolved.

And thank you for the kind words. The same regards to you, as well.
- Tom :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
Post Reply