I had a userscript with a stylesheet which doesn't work and wanted to convert the sheet into Adguard filters. But the developer of the userscript only forgot to add // @grant GM_addStyle to the metadata block.
I wanted to remove all target=_blank attributes from links (<a href="..." target="_blank">), so I made a script rule:
#%#Array.from(document.querySelectorAll('a[target="_blank"]')) .forEach(link => link.removeAttribute('target'));
This script works with the Windows extension but not...