'href-sanitizer' doesn't work as intended
Adguard for Mac Firefox 134 on macOS
Google search redirects a tracking url to search result links like this https://www.google.com/url?sa=t&source=web&rct=j&opi=[redact]&url=https://adguard.com/en/welcome.html&ved=[redact]&usg=[redact]
I added a user rule
www.google.com#%#//scriptlet('href-sanitizer', '#main a[href*="url=http"]', '?url'
which in theory should make the href clean.
However, nothing changed with this rule. Is this some kind of bug?
By the way,
www.google.*###main a[href][data-sb^="/url?"]:remove-attr(data-sb) of uBlock filters – Privacy works
so I rewrite it in Adguard syntax
www.google.*#%#//scriptlet('remove-attr', 'data-sb') and it successfully removed the tracking urls
Theoretically, in the background, the link may no longer be updated or Google's scripts will overtake the observation of mutations.