mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Apply stricter rejection of usage of url() in :style rules
This commit is contained in:
parent
0377018fa3
commit
1de821d99b
1 changed files with 1 additions and 1 deletions
|
|
@ -636,7 +636,7 @@
|
|||
api.compileSelector = (function() {
|
||||
const reAfterBeforeSelector = /^(.+?)(::?after|::?before|::[a-z-]+)$/;
|
||||
const reStyleSelector = /^(.+?):style\((.+?)\)$/;
|
||||
const reStyleBad = /url\([^)]+\)/;
|
||||
const reStyleBad = /url\(/;
|
||||
const reExtendedSyntax = /\[-(?:abp|ext)-[a-z-]+=(['"])(?:.+?)(?:\1)\]/;
|
||||
const reExtendedSyntaxParser = /\[-(?:abp|ext)-([a-z-]+)=(['"])(.+?)\2\]/;
|
||||
const div = document.createElement('div');
|
||||
|
|
|
|||
Loading…
Reference in a new issue