JavaScript is always disabled in the Firefox-Options (it's ok for me that some sites do not work), so no Code is executed.
But there are still *.js-Files in the Files-Subdirectory when I download the whole site.
*.gif blocks any GIFs but *.js does not work on JavaScripts. What's the matter?
Background is: The default html-viewer (fastest) on my system is an old version of IE that is vulnerable to many exploits basing on JavaScript.
I can block *.gif but *.js doesn't work.
Re: I can block *.gif but *.js doesn't work.
JavaScript don't have to be in an external file; Use $script to block it.Guest wrote:JavaScript is always disabled in the Firefox-Options (it's ok for me that some sites do not work), so no Code is executed.
But there are still *.js-Files in the Files-Subdirectory when I download the whole site.
*.gif blocks any GIFs but *.js does not work on JavaScripts. What's the matter?
Background is: The default html-viewer (fastest) on my system is an old version of IE that is vulnerable to many exploits basing on JavaScript.
I tried "$script" and several other things. But without a detailed documetation setting up new filters is like poking in mud.
Here's a screenshot of my actual filters. The last one in the list blocks less than 1% of all scriptfiles. The others do not work at all.

The only thing I want is to block ALL JavaScript-Files.
Can't anybody tell me an exact and working filter expression?
Here's a screenshot of my actual filters. The last one in the list blocks less than 1% of all scriptfiles. The others do not work at all.

The only thing I want is to block ALL JavaScript-Files.
Can't anybody tell me an exact and working filter expression?
- Stupid Head
- Posts: 214
- Joined: Sat Aug 26, 2006 8:11 pm
- Location: USA
Adblock Plus can only block external js (scripts with an address). Any script that is directly in the html is not blocked or recognized by ABP.
With the filter strings you are using, ALL external-file script should be blocked when visiting a page. Did you look at your 'blockable items' to see if all scripting is being blocked on those pages?
If you need something to block ALL js, you really need the NoScript extension.
ps: There MAY be a difference between blocking a page and saving it. I think when a page is saved, all the links in the code are retrieved. This is something you will have to find out yourself. Is what you are seeing a 'web bug'? This is code that can be put in the html "noscript" tags of a script. This code runs instead if js is disabled (not blocked).
With the filter strings you are using, ALL external-file script should be blocked when visiting a page. Did you look at your 'blockable items' to see if all scripting is being blocked on those pages?
If you need something to block ALL js, you really need the NoScript extension.
ps: There MAY be a difference between blocking a page and saving it. I think when a page is saved, all the links in the code are retrieved. This is something you will have to find out yourself. Is what you are seeing a 'web bug'? This is code that can be put in the html "noscript" tags of a script. This code runs instead if js is disabled (not blocked).