uBlock/src/js/scriptlets
Raymond Hill 992255e993
Add :remove-attr() and :remove-class() pseudo selector operators
These two new pseudo selectors are _action_ operators, and thus can
only be used at the end of a selector. They both take as argument
a string or regex literal.

For `:remove-class()`, when the argument matches a class name, that
class name is removed.

For `:remove-attr()`, when the argument matches an attribute name,
that attribute is removed.

These operators are meant to replace `+js(remove-attr, ...)` and
`+js(remove-class, ...)`, which from now on are candidate for
deprecation in some future.

Once the next stable release is widespread, filter authors must use
these two new operators instead of their `+js()` counterparts.
2022-12-10 11:18:24 -05:00
..
cosmetic-logger.js Handle potentially invalid CSS selector 2022-11-21 08:57:55 -05:00
cosmetic-off.js guard against future instances of issue fixed in #3721 2018-05-03 09:55:36 -04:00
cosmetic-on.js guard against future instances of issue fixed in #3721 2018-05-03 09:55:36 -04:00
dom-inspector.js Fix visual of DOM inspector layer in dark theme mode 2022-11-17 09:25:20 -05:00
dom-survey-elements.js Improve conversion of procedural cosmetic filters into CSS rules 2022-07-24 11:41:08 -04:00
dom-survey-scripts.js Minor code review 2021-10-14 09:22:36 -04:00
epicker.js Add :remove-attr() and :remove-class() pseudo selector operators 2022-12-10 11:18:24 -05:00
load-3p-css.js Simplify code 2020-12-13 12:14:37 -05:00
load-large-media-all.js Improve interactivity of no-large-media-elements content scripts 2020-10-22 08:44:55 -04:00
load-large-media-interactive.js Skip handling non-media elements 2021-06-25 07:24:00 -04:00
noscript-spoof.js Handle invalid meta refresh URLs in noscript scriptlet 2021-07-31 13:16:33 -04:00
should-inject-contentscript.js Fix race condition at browser launch re. cosmetic filtering 2020-04-04 11:34:43 -04:00
subscriber.js Fix breaking navigation through links [regression] 2021-11-04 11:48:07 -04:00