New issue
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
Add $replace and $$
rules partial support
#864
Comments
I can't find it in Chromium's sources, though. So the use of it may be limited to Firefox only |
@ameshkov, |
Both $$ and $replace are really useful and can help us. Unfortunately, in FF only |
Basically I was restricted from using adguard chrome browser extension becoz instart logic bypasses chrome extension due to large inline scripts....this work as per AdamWr in adguard for windows but not work in browser extension due to limited $$rule support....... |
We've figured a way for FF, eventually we'll find a way for Chrome as well |
I guess Edge and Safari are out in the cold then? =P Great news, hopefully you guys will find a way for Chrome too. 👍 |
doesn't work I've checked with this rules:
|
…ssues/864-fix-utf8 to master * commit 'bff585d92d3b533f23e84a3ca320fb4b3b87b185': #864 fix tests
Merge in EXTENSIONS/browser-extension from feature/AG-7953 to feature/AG-2737 * commit '4f1337f712bfb0a2b874ba3d7a1dcabee66f1edb': add findChunks test for escaped character improve findChunks and add tests for it use HighlightSearch for filter name displaying while searching add FilterTitle component for search highlight
Firefox now supports
filterResponseData
which gives us the ability to filter HTML responses body:https://blog.mozilla.org/addons/2017/09/28/webextensions-in-firefox-57/
Also, this question implies that the very same feature is available in Chrome:
https://support.mozilla.org/en-US/questions/1176377
So, we can use it to implement partial support of
$$
and $replace rules.Applying
$$
rules may be slow as we need to use DOMParser. To mitigate it we need to limit$$
rules to domain-specific rules only.The text was updated successfully, but these errors were encountered: