mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Include query string when evaluating matches-path()
Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/issues/1690#issuecomment-903133439
This commit is contained in:
parent
ef5385b3f4
commit
9d4006f2c3
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ const PSelectorMatchesPathTask = class {
|
|||
this.needle = new RegExp(arg0, arg1);
|
||||
}
|
||||
transpose(node, output) {
|
||||
if ( this.needle.test(self.location.pathname) ) {
|
||||
if ( this.needle.test(self.location.pathname + self.location.search) ) {
|
||||
output.push(node);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue