Page 1 of 1

[Resolved] Can just stop 1 script?

Posted: Tue Dec 20, 2011 4:00 am
by nehuenkpo
I'm just wondering if this plugin for firefox can stop only 1 javascript from a webpage and not the wole page

Re: Can just stop 1 script?

Posted: Tue Dec 20, 2011 7:46 am
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.

Re: Can just stop 1 script?

Posted: Tue Dec 20, 2011 10:21 pm
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

Re: Can just stop 1 script?

Posted: Tue Dec 20, 2011 11:28 pm
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.

Re: Can just stop 1 script?

Posted: Wed Dec 21, 2011 2:24 am
by nehuenkpo
Thanks you very mach.
That's what I was looking for.
Happy holidays & kind regards.

[Resolved] Can just stop 1 script?

Posted: Wed Dec 21, 2011 6:57 am
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 :)