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
For example, if there are 2 scripts like:
<script src="test1.js"></script> <script src="test2.js" defer></script>
And we want to remove only this with defer attribute using rule like:
defer
example.org$$script[src="test"][defer]
Then it doesn't work.
Steps to reproduce:
||example.org^$replace=/<\/head>/<script src="test1.js"><\/script><script src="test2.js" defer="abcd"><\/script><\/head>/,document example.org$$script[src="test"][defer]
Script with defer attribute should be removed.
Allow to remove content with empty attribute so mentioned rule will remove only this script which has defer attribute.
No response
The text was updated successfully, but these errors were encountered:
anyakushin
No branches or pull requests
Issue Details
For example, if there are 2 scripts like:
And we want to remove only this with
defer
attribute using rule like:Then it doesn't work.
Steps to reproduce:
Script with
defer
attribute should be removed.Proposed solution
Allow to remove content with empty attribute so mentioned rule will remove only this script which has
defer
attribute.Alternative solution
No response
The text was updated successfully, but these errors were encountered: