mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 07:22:28 +02: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
@ -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 New Issue
Block a user