1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 10:52:43 +01: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:
Raymond Hill 2023-08-07 13:58:15 -04:00
parent e33d29ac5a
commit 9ac18318af
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -44,7 +44,7 @@ if ( pickerRoot !== null ) { return; }
let pickerBootArgs;
const reCosmeticAnchor = /^#[$?]?#/;
const reCosmeticAnchor = /^#(\$|\?|\$\?)?#/;
const netFilterCandidates = [];
const cosmeticFilterCandidates = [];