Open
Description
Prerequisites
- I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
- This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
- This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
- I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
- The issue is not present after disabling uBO in the browser.
- I checked the documentation to understand that the issue I am reporting is not normal behavior.
I tried to reproduce the issue when...
- uBO is the only extension.
- uBO uses default lists and settings.
- using a new, unmodified browser profile.
Description
The remove-class
scriptlet is deprecated in favor of the :remove-class(...)
pseudo-class (action operator). However, the scriptlet supported an applying parameter (e.g., asap
, complete
), which the action operator currently doesn't.
References:
- Scriptlet: https://github.com/gorhill/uBlock/wiki/Resources-Library#remove-classjs-
- Action operator: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#subjectremove-attrarg-subjectremove-classarg
Similarly, the remove-attr
action operator doesn't support parameters that the scriptlet previously allowed.
References:
- Scriptlet: https://github.com/gorhill/uBlock/wiki/Resources-Library#remove-attrjs-
- Action operator: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#subjectremove-attrarg-subjectremove-classarg
A specific URL where the issue occurs.
not relevant
Steps to Reproduce
not relevant
Expected behavior
I suggest that the action operators should also support the extra parameters from the scriptlets, e.g., ##selector:remove-class(class, complete)
.
Actual behavior
Currently, the action operators support only a single argument.
uBO version
latest
Browser name and version
not relevant
Operating System and version
not relevant
Metadata
Metadata
Assignees
Labels
No labels