Scriptlets
Scriptlets copied to clipboard
vrsumo.com - set-constant scriptlet can't handle the redirect
There is an issue related to the scriptlet set-constant.
- Add these rules
vrsumo.com#@%#Object.defineProperty(window, 'offer', { value: ''});
vrsumo.com#%#//scriptlet('set-constant', 'offer', '')
- When you open the link from the task https://github.com/AdguardTeam/AdguardFilters/issues/59478 and click on the mouse back button, you get redirected. The scriptlet does not prevent the redirect, but the js rule does.
I found another scriptlet that works fine, so add it as an exception to 1 step when you'll check it.
vrsumo.com#@%#//scriptlet('set-local-storage-item', 'offer', '2')