I can block *.gif but *.js doesn't work.

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Guest

I can block *.gif but *.js doesn't work.

Post by Guest »

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.
Radek

Re: I can block *.gif but *.js doesn't work.

Post by Radek »

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.
JavaScript don't have to be in an external file; Use $script to block it.
Guest

Post by Guest »

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.

Image

The only thing I want is to block ALL JavaScript-Files.
Can't anybody tell me an exact and working filter expression?
User avatar
Stupid Head
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Post by Stupid Head »

Each blocked item gets counted once. So just because one filter gets counted doesn't mean the other ones don't work. Remove all filters except $script and you will see what I mean.
What, me worry?
Guest

Post by Guest »

$script still DOES NOT WORK. No Scriptfile is blocked.
Is there a difference between executing Scripts in the Browser and downloading and saving them as files on HD?

BTW: I use Adblock Plus v0.7.5.1 with FF v1.5.0.7. Any issues known?
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Post by MonztA »

idk but 1.5.0.7 is definitely an outdated version. You should update to Firefox 2.0.0.6
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

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).
Locked