1

I use firefox. Is there an addon or setting to stop my browser from downloading all the scripts that are linked on a webpage?
I would like to only follow links which are at domains in my whitelist.
I already use noscript, but I would prefer to not open any http connections to untrusted links at all.
Also, regardless of the above, I would like to have the option of allowing specific scripts as opposed to all scripts from a domain.

6
  • 1
    Adblock Plus can be used in this way. It's designed to block "ads", but it can actually block any generic HTTP request. If a request that's about to be sent matches any of the filters, the request is never sent to the server. Commented Apr 15, 2014 at 20:39
  • 1
    Also, I don't know if you've checked this out, but the ABE is a sort of addon to NoScript that provides additional firewall-like functionality; this may be closer to what you want. Commented Apr 15, 2014 at 20:42
  • @allquixotic Except that with Adblock Plus, there will be a HTTP connection for the page itself, as the filters work only for elements in the page, not the page itself. I was going to suggest Request Policy, but as far as I can tell, same problem.
    – rhill
    Commented Apr 16, 2014 at 18:46
  • @rhill I think adblock plus rules could be made to work, but I haven't tried it myself. They have rules for blocking specific file types, and rules for making "exceptions"; all you have to do is make a really restrictive blacklist rule that encapsulates all the things you want to block, and then make exceptions for things you want to allow which are matched by the blacklist. If you block things by URL or domain, Adblock Plus will not send a request for that URL to the remote host. Requests only have to be sent for element based (DOM-based) blocking. Commented Apr 16, 2014 at 19:42
  • @allquixotic according to ABP documentation, blacklisting a whole page doesn't work, as the $document option is enforced only for whitelist filters. See adblockplus.org/en/filters#options . There is a blog post somewhere in which the author explains the rationale (it used to work in the past), but I didn't save the link.
    – rhill
    Commented Apr 16, 2014 at 21:37

1 Answer 1

-1

I think what you're looking for is NoScript: https://addons.mozilla.org/en-US/firefox/addon/noscript/

2
  • His question says "I already use NoScript". Did you not see that part? Commented Apr 15, 2014 at 20:40
  • LOL for some reason I assumed he was already running NoAds... Yes, that's my bad.
    – Wutnaut
    Commented Apr 15, 2014 at 20:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .