FiltersCompiler icon indicating copy to clipboard operation
FiltersCompiler copied to clipboard

A tool that compiles & validates filters

Results 51 FiltersCompiler issues
Sort by recently updated
recently updated
newest added

`tumblr.com#?#:is(.post,div[data-cell-id][style]:not([data-cell-id*=carousel]),div[tabindex]:is([style^=m],[data-id]:not([class*=" "]),:not([style],[class]))):has-text( click & chat me ):has-text(рџ”ћ)` considered as invalid `Error: Invalid selector: ':is(.post,div[data-cell-id][style]:not([data-cell-id*=carousel]),div[tabindex]:is([style^=m],[data-id]:not([class*=" "]),:not([style],[class]))):has-text( click & chat me ):has-text(рџ”ћ)' -- Error: unable to select by '*:is(.post, div[data-cell-id][style]:not([data-cell-id*=carousel]), div[tabindex]:is([style^=m], [data-id]:not([class*="...

Priority: P4

https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#domain `from=` is an alias for `domain=`

Priority: P4

since `$inline-font` and `$inline-script` modifiers are valid, negation ones should be valid as well ``` Error: "Unknown modifier: ~inline-font" in the rule: "||oldgames.4all.cc^$document,popup,~inline-font,~inline-script" Error: "Unknown modifier: ~inline-font" in the rule:...

Priority: P4

https://github.com/gorhill/uBlock/commit/992255e9937f81b5dd58524caa2ceeaeb29efb14 According to the comment `+js(remove-attr, ...)` and `+js(remove-class, ...)` is going to be deprecated. But will be supported for a while so probably no need to put too high...

Priority: P4

Related to [##^script:has-text](https://github.com/AdguardTeam/FiltersCompiler/issues/60) Updated AdGuard `$$` syntax: https://adguard.com/kb/general/ad-filtering/create-own-filters/#html-filtering-rules For example, AdGuard for Windows converts uBO's HTML filtering rule `forbes.com##^script:has-text(scriptTag)` to AdGuard's `forbes.com$$script[tag-content="scriptTag"][max-length="262144"]` But conversion is not applied to unblocking rules...

bug
feature request
Priority: P4

As of now, uBO version of lists don't inlcude trusted- scriptlets. For example, compare [Annoyances for uBO](https://filters.adtidy.org/extension/ublock/filters/14.txt) and [Annoyances for AG/Firefox](https://filters.adtidy.org/extension/firefox/filters/14.txt). Since uBO supports them (trusted-click-element, trusted-set-cookie, etc.) it could...

Priority: P4

When looking into https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/ThirdParty/filter_250_DandelionSproutAnnoyances/diff.txt, I've worked out (or at least looked into) various excluded entries, but there are 2 excluded entries that I feel should've been allowed by the compiler,...

Priority: P4

https://github.com/AdguardTeam/FiltersRegistry/pull/802/files#diff-eafb4aff19bc57c3106afe5e1d4aef0b6422e0de242745e6e94f7d5733ab1cc1R4504 The rules from the filters, which use uBO syntax: ``` Error: "Unknown modifier: all" in the rule: "/(\.|//|^)1xslot\d{5,}\.com(/|$)/$all,~inline-font,~inline-script" Error: "Unknown modifier: all" in the rule: "/(\.|//|^)1xslot\d{5,}\.com(/|$)/$all" ```

enhancement

### uBO 1.48.5b9 All checked with built-in uBO validator ### AdGuard Base filter + EasyList Version: 2.2.76.27 **unsupported filter syntax:** ``` bikeradar.com,spiegel.de#@%#!function(){function b(){}function a(a){return{get:function(){return a},set:b}}function c(a){a(!1)}AG_defineProperty('_sp_.config.content_control_callback',a(b)),AG_defineProperty('_sp_.config.spid_control_callback',a(b)),AG_defineProperty('_sp_.config.vid_control_callback',a(b)),AG_defineProperty('_sp_.config.disableBlockerStyleSheets',a(!1)),AG_defineProperty('_sp_.checkState',a(c)),AG_defineProperty('_sp_.isAdBlocking',a(c)),AG_defineProperty('_sp_.isAdblocking',a(c)),AG_defineProperty('_sp_.isContentBlockerPresent',a(c)),AG_defineProperty('_sp_.getSafeUri',a(function(a){return a})),AG_defineProperty('_sp_.pageChange',a(b)),AG_defineProperty('_sp_.setupSmartBeacons',a(b)),AG_defineProperty('_sp_.msg.startMsg',a(b)),document.addEventListener('sp.blocking',function(a){a.stopImmediatePropagation(),a=document.createEvent('Event'),a.initEvent('sp.not_blocking',!0,!1),this.dispatchEvent(a)})}(); userscloud.com#@%#Object.defineProperties(window,{admvpu:{get:function(){},set:function(a){if("function"==typeof a)throw Error();}},Fingerprint2:{get:function(){},set:function(){throw...

### Problem Currently, the filters compiler allows for accidental and non-obvious mistakes, such as - deleting a large number of rules (for example, mistakenly taken as incorrect) - adding rules...

feature request