Hi! I'm a noob, excuse me if I say something stupid.
I'm using a website that is very slow. I think one of the reasons of this that the site uses a lot of unnecessary javascript. I thought I can use ABE to allow only the minimum necessary JS, so maybe it would be faster. I tried to set an ABE rule like this:
Site .facebook.com .twitter.com
Deny INC from .facebook.com .twitter.com
.example.com
Accept
When I applied the rule and loaded example.com, I noticed three things:
1. Some addresses don't show up in noscript when I load the page(the intended effect)
2. Some addresses do show up despite the rule(such as twitter.com)
3. Facebook.com isn't loading properly(so the rule was not restricted to example.com)
What rule should I set?
Thank you for your help in advance.
Using ABE to disable javascript on just one website
Using ABE to disable javascript on just one website
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Re: Using ABE to disable javascript on just one website
Emulating NoScript's active content blocking using ABE is tricky:
Can you just use the regular script blocking on this site?
Code: Select all
Site .example.net
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox
*Always* check the changelogs BEFORE updating that important software!
-
Re: Using ABE to disable javascript on just one website
The website still needs the javascript from example.com to function at all. Simply blocking the scripts from other sites work, but with that, I won't be able to use some other websites.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Re: Using ABE to disable javascript on just one website
Your initial ABE rule doesn't look right...see if this helps:
Code: Select all
Site .example.com
Accept from SELF++
Deny INC
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Linux i686; rv:38.9) Gecko/20100101 Goanna/2.0 Firefox/38.9 PaleMoon/26.1.1
Re: Using ABE to disable javascript on just one website
Ah, you're trying to make per-site permissions but like the reverse of what people usually ask. This ABE rule should do:Guest wrote:The website still needs the javascript from example.com to function at all. Simply blocking the scripts from other sites work, but with that, I won't be able to use some other websites.
Code: Select all
Site .facebook.com .twitter.com
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA) from .example.com
Sandbox from .example.com
Accept
*Always* check the changelogs BEFORE updating that important software!
-
Re: Using ABE to disable javascript on just one website
Unfortunately this doesn't seem to have any effect.Thrawn wrote:Your initial ABE rule doesn't look right...see if this helps:Code: Select all
Site .example.com Accept from SELF++ Deny INC
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0