[Solved] Adblocker test

3 Posts
3 Users
3 Reactions
558 Views
(@tuxxer)
Trusted Member
Joined: 4 Jahren ago
Posts: 33
Topic starter  

Hi,

I found an Adblock tester on:

https://d3ward.github.io/toolz/src/adblock.html

The percentage of blocked content is quite low with activated eblocker. The question now is how realistic is this test and how to improve the blocking rate in eblocker? I only reached between 16 and 24%.

 

What do you think?

Client OS
Browser
eBlocker hardware
eBlockerOS version

   
ReplyQuote
(@random)
Illustrious Member Admin
Joined: 6 Jahren ago
Posts: 2068
 

The test is bullshit and obviously doesn‘t work at all. All the services mentioned are being blocked by eBlocker (Google, doubleclick, hotjar etc.). ALL!

What a nonsense test. Never mind.

To prove eBlocker works well, just enter a URL of a tracker/ad system in a browser and you’ll get an error (or a blank page) from eBlocker. In case you find a tracking/ad URL that works (not getting an error, showing some content) we have a point for improvement. Please share the URL and we’ll just add the blocking pattern to be released next day. Done.

THX!


   
QP1808 reacted
ReplyQuote
(@benne)
Famed Member Admin
Joined: 6 Jahren ago
Posts: 1097
 

@random You are right. The test is pure nonsense.

The developer just checks if a certain tracking/ad URL gets any response (see code fragment below). If a response is delivered it claims the test failed - which makes no sense.

Since eBlocker acts more cleverly than a simple DNS blocker, it tries to always deliver a response not to break the site (sometimes we even deliver surrogate scripts instead). This cleverness is not being tested - yielding to false results.

@tuxxer So forget this test and/or encourage the developer to better test for more intelligent blockers (like eBlocker). 😉

await fetch(url, config, timeout,parent,div).then(response => {
console.log(response);
 
$(parent).css("background", "var(--red)");
 
$(hostDiv).css("background", "var(--red)");
 
}) //Response was received --> ads are NOT blocked
 
.catch(error => {
 
console.log(error.message);
 
$(hostDiv).css("background", "var(--green)");
 
if (!np) {
 
points += 100 / nTest;
 
bar.setValue(points / 100);
 
  
} //No response --> ads are blocked
 
  

   
QP1808 and Random reacted
ReplyQuote

Nach oben scrollen