mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix parsing cosmetic filter anchor when using AdGuard/ABP modifiers
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/2765
This commit is contained in:
parent
e33d29ac5a
commit
9ac18318af
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ const svgOcean = svgRoot.children[0];
|
|||
const svgIslands = svgRoot.children[1];
|
||||
const NoPaths = 'M0 0';
|
||||
|
||||
const reCosmeticAnchor = /^#[$?]?#/;
|
||||
const reCosmeticAnchor = /^#(\$|\?|\$\?)?#/;
|
||||
|
||||
const epickerId = (( ) => {
|
||||
const url = new URL(self.location.href);
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ if ( pickerRoot !== null ) { return; }
|
|||
|
||||
let pickerBootArgs;
|
||||
|
||||
const reCosmeticAnchor = /^#[$?]?#/;
|
||||
const reCosmeticAnchor = /^#(\$|\?|\$\?)?#/;
|
||||
|
||||
const netFilterCandidates = [];
|
||||
const cosmeticFilterCandidates = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue