mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 02:42:33 +01:00
This commit is contained in:
parent
d9010ef701
commit
138e1bf558
@ -490,8 +490,11 @@
|
|||||||
// https://github.com/gorhill/uBlock/issues/2624
|
// https://github.com/gorhill/uBlock/issues/2624
|
||||||
// Convert Adguard's `-ext-has='...'` into uBO's `:has(...)`.
|
// Convert Adguard's `-ext-has='...'` into uBO's `:has(...)`.
|
||||||
|
|
||||||
|
// https://github.com/uBlockOrigin/uBlock-issues/issues/89
|
||||||
|
// Do not discard unknown pseudo-elements.
|
||||||
|
|
||||||
api.compileSelector = (function() {
|
api.compileSelector = (function() {
|
||||||
var reAfterBeforeSelector = /^(.+?)(::?after|::?before)$/,
|
var reAfterBeforeSelector = /^(.+?)(::?after|::?before|::[a-z-])$/,
|
||||||
reStyleSelector = /^(.+?):style\((.+?)\)$/,
|
reStyleSelector = /^(.+?):style\((.+?)\)$/,
|
||||||
reStyleBad = /url\([^)]+\)/,
|
reStyleBad = /url\([^)]+\)/,
|
||||||
reExtendedSyntax = /\[-(?:abp|ext)-[a-z-]+=(['"])(?:.+?)(?:\1)\]/,
|
reExtendedSyntax = /\[-(?:abp|ext)-[a-z-]+=(['"])(?:.+?)(?:\1)\]/,
|
||||||
|
Loading…
Reference in New Issue
Block a user