mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
this fixes entity-based script tag filters, as reported in https://github.com/IDKwhattoputhere
This commit is contained in:
parent
822faa74e3
commit
a7901cd97e
1 changed files with 1 additions and 1 deletions
|
@ -959,7 +959,7 @@ FilterContainer.prototype.fromCompiledContent = function(text, lineBeg, skip) {
|
|||
// entity selector
|
||||
if ( fields[0] === 'e' ) {
|
||||
// Special filter: script tags. Not a real CSS selector.
|
||||
if ( fields[2].startsWith('script?') ) {
|
||||
if ( fields[2].startsWith('script') ) {
|
||||
this.createScriptFilter(fields[1], fields[2].slice(6));
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue