adx.js [added]

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.
Locked
Josh Triplett
Guest

adx.js [added]

Post by Josh Triplett »

I've used the filter ://*/adx.js since before I switched to adblock plus, and it works wonders on several sites. Numerous sites use this ad script; I think it comes from the OpenAds project at https://developer.openads.org/browser/trunk . Among many other things, this filter solves the unresolved problem with gameplay.hr reported elsewhere on this forum.

The file always contains this content:

Code: Select all


function phpads_deliverActiveX(content)
{
document.write(content);
}
So it just appears to serve as part of the delivery mechanism. Nevertheless, blocking it proves sufficient to stop this ad system's ads on sites that use this script.
Guest
Guest

Post by Guest »

Which reminds me that I need to change the format of that filter. I used to think that * wouldn't match slashes, so ://*/something would only match "something" at the top level of a site. How can I match at the top level of a site only?
Guest
Guest

Post by Guest »

Also, I've had the same success with the filter /hbx.js . Note that that one intentionally matches at any level.
Josh Triplett
Guest

Post by Josh Triplett »

Anonymous wrote:Which reminds me that I need to change the format of that filter. I used to think that * wouldn't match slashes, so ://*/something would only match "something" at the top level of a site. How can I match at the top level of a site only?
Anonymous wrote:Also, I've had the same success with the filter /hbx.js . Note that that one intentionally matches at any level.
Both of the above came from me, but I didn't notice that the forum didn't remember the username, so I didn't sign them.
User avatar
rick752
Honorary Member
Honorary Member
Posts: 4508
Joined: Fri Dec 30, 2005 1:02 am
Location: New York, USA

Post by rick752 »

Josh Triplett wrote:
Anonymous wrote:Which reminds me that I need to change the format of that filter. I used to think that * wouldn't match slashes, so ://*/something would only match "something" at the top level of a site. How can I match at the top level of a site only?
Anonymous wrote:Also, I've had the same success with the filter /hbx.js . Note that that one intentionally matches at any level.
Both of the above came from me, but I didn't notice that the forum didn't remember the username, so I didn't sign them.
Ok Josh, lets try this one at a time:
First, using the string:

Code: Select all

://*/
... is a total waste of typing because ALL addresses for EVERYTHING would be included in that .. it is just redundant. Scripts use "http://" in the MIDDLE of a string all the time which makes that extra filtering still a waste of time. Furthermore, EVERY address that I could possibly think of would contain ://*/

Blocking only the top level of a domain would be:

Code: Select all

|http.whatever.com
... the "|" denotes that it must start the address with it ... a "|" at the end means it must end with that.

Code: Select all

/hbx.js|
... is already in our ABP Tracking Filter:
http://easylist.adblockplus.org/index.htm#filters

Code: Select all

/adx.js
... may be already caught by another filter. If it is not, please let me know.
"Experience is something you don't get until just after you need it"
User avatar
rick752
Honorary Member
Honorary Member
Posts: 4508
Joined: Fri Dec 30, 2005 1:02 am
Location: New York, USA

Post by rick752 »

Never mind ..... added:

Code: Select all

/adx.js|
:arrow: :arrow: :arrow:
"Experience is something you don't get until just after you need it"
Locked