tsurlfilter
tsurlfilter copied to clipboard
AdGuard content blocking library
Currently, AdGuard uses some pretty complicated algorithm of rules validation which brings more confusion than not. Instead of the old rule I suggest us having a very simple one: "total...
While I applaud the addition of `$document` warnings in AdGuard products that were added a year-ish ago, there is one significant problem: It doesn't show which list that contains the...
If several modifiers are added separately, only the first one applies. Example: in this case the modifier `elemhide` will not apply ``` @@||adguard.com^$genericblock adguard.com##.page @@||adguard.com^$elemhide ``` proposed solution: compatible modifiers...
https://github.com/AdguardTeam/AdguardFilters/pull/160393/files#diff-9447c6eb8cb0810a43523b3b8ac678e57f51cabe845101b5c45ab28dc29090e7R4393
Regarding `seqScanRules` of `CosmeticRule`: ``` Instead of doing the seq scan all the time AND wasting precious memory on keeping lots of CosmeticRule instances, we can compose a commonCSS string...
### Issue Details `$network` is currently only available in apps, but I think it can be implemented in Firefox extension with [dns.resolve](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dns/resolve). The modifier is very useful to block malicious...
We've added some new functionality to HTML filtering rules in CoreLibs, see [discussion](https://github.com/AdguardTeam/CoreLibs/issues/94) and [updated HTML filtering rules description](https://github.com/AdguardTeam/KnowledgeBase/pull/264). The same improvements should be implemented in `tsurlfilter`. However, @ameshkov asked...
I have installed example of the AdGuard extension: [https://github.com/AdguardTeam/AdGuardMV3](https://github.com/AdguardTeam/AdGuardMV3), and everything works correctly. For instance, when I visit fr.de and add a userRule to block an ad element, like this:...
See https://github.com/AdguardTeam/CoreLibs/issues/1447 for details Can only be implemented in Firefox.
uBo implemented regex, if someone trust something like: ```adb /bad-js.$domain=/[a-z-]{18}\.[\w]{2,20}/ /[a-z-]{18}\.[\w]{2,20}/##.bad-class ! ! regex in the dumb version - rather, the webmaster fell how to avoid falling into a safe...