question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adblock decoder ignore some portion when decoding

See original GitHub issue

As reported by @dnmTX at https://github.com/Ultimate-Hosts-Blacklist/dev-center/issues/9:

everything with ##[href^=

are ignored.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:76 (36 by maintainers)

github_iconTop GitHub Comments

1reaction
funilryscommented, Dec 5, 2018

Hi @jawz101, I’m writing an improvement but we have to admit, it’s impossible to avoid false positive. That’s why whitelisting is more important than blocking.

Now we have to decide between 2 way:

  • We extract and test all possible domains. or
  • We extract all domains which are (or may be) relevant.

For now, I’m implementing the second way but we may think about the other way in the future or as an extra option.

0reactions
keczupppcommented, Aug 24, 2021

OK, so I’ve just tested the newest PyFunceble dev right now and I’ve noticed that the reported issues mentioned in : https://github.com/funilrys/PyFunceble/issues/13#issuecomment-749607193 and https://github.com/funilrys/PyFunceble/issues/13#issuecomment-803537932 have been fixed.


The summarision:

keczuppp: As for the last 3 failures, many of such failures can be found in https://easylist-downloads.adblockplus.org/easylistpolish.txt The list contains about 2961 domains, but only 2459 are found by Adblock Decoder (with --aggressive option), which gives 83% efficiency.

  • the current EasyList Polish contains 3190 domains and the newest Pyfunceble has extracted 3106 what gives 97% efficiency compared to 83% previously

keczuppp: currently the decoder extracts about a half of domains, to prove it I copy-pasted all domain= lines from several popular / big adblock filter lists + two polish lists: EasyList, EasyPrivacy, AdGuard Base, AdGuard Tracking Protection, Official Polish Filters for AdBlock, uBlock Origin & AdGuard, EasyList Polish and put into a single file / list (see domain=.zip), which contain about 11425 domains, but Adblock Decoder extracts only about a half (5426 domains)

  • the newest PyFunceble has extracted 8298 what gives 73% compared to previously 48%

Good improvement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable an ad blocker on Business Insider
Click “Enabled on this site” to disable ad blocking for the current site. This will toggle it to “Disabled on this site.
Read more >
Adblock Plus filters explained
Blocking rules can have a number of options to fine-tune their behavior. Address to be blocked. This part of the rule defines which...
Read more >
How to exclude properties from Swift Codable? - Stack Overflow
The list of keys to encode/decode is controlled by a type called CodingKeys (note ... Another way to exclude some properties from encoder, ......
Read more >
Are ad blockers a problem for marketers? | ClickCease Blog
To adjust, some now insist that visitors disable their ad blockers before ... strategies while ad blockers try to decode and block them....
Read more >
How to Block Ads Across All Devices - CMSWire
Some ad blockers go a step further and also block tracking links. If a user clicks on a ... AdBlock is part of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found