Are URLs built in JavaScript ignored by Adblock?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
HMeier17
Posts: 5
Joined: Sat Oct 03, 2015 11:04 pm

Are URLs built in JavaScript ignored by Adblock?

Post by HMeier17 »

URLs built in JavaScript seem to be ignored by Adblock. Here's an example: Open warez-world.org. When you click somewhere in the document, a JavaScript runs and somehow builds the URL http://warez-world.org/vload.php. This URL is then loaded and brings up annoying ad popups. I have put *warez-world.org/vload.php* on the Adblock filter list (in different variations with "http://", without "http://", with "*", without "*"), but it doesn't work. The filter rule is ignored by Adblock, so the popups continue.

You can find other examples an various pages. Every time I observe that a filter rule is ignored, JavaScript is involved. Can't I have filters that block URLs started by JavaScript?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Are URLs built in JavaScript ignored by Adblock?

Post by mapx »

you can use this filter (the popup will be quickly closed by ABP)

Code: Select all

||warez-world.org/vload.php$popup
HMeier17
Posts: 5
Joined: Sat Oct 03, 2015 11:04 pm

Re: Are URLs built in JavaScript ignored by Adblock?

Post by HMeier17 »

Thanks, this works. The "$popup" attribute seems to be quite undocumented...
Locked