mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
this fixes entity-based script tag filters, as reported in https://github.com/IDKwhattoputhere
This commit is contained in:
parent
822faa74e3
commit
a7901cd97e
@ -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 New Issue
Block a user