We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
has()
<html>
example.com##html
works but none of the
example.com##html:has(body) example.com##html:has(div) example.com##html:has-text(Example)
work.
If this wouldn't be fixed, some info needs adding to wiki.
example.com
The text was updated successfully, but these errors were encountered:
This fails because there is this test before the node is further processed:
if ( node.parentElement === null ) { continue; }
html elements do not have a parent. I will have to remember why this test is there.
html
Edit: added in gorhill/uBlock@72bb700#diff-58abb088be4b02338aacb69a0580ab7fR808. I can't understand why this was added, so I will just remove it. It seems to be a stray test originally meant to be used for when removing nodes using the :remove() operator.
:remove()
Sorry, something went wrong.
Remove pointless test for parent node presence
f0ef680
Related issue: - uBlockOrigin/uBlock-issues#1240
No branches or pull requests
Prerequisites
Description
works but none of the
work.
If this wouldn't be fixed, some info needs adding to wiki.
A specific URL where the issue occurs
example.com
Your environment
The text was updated successfully, but these errors were encountered: