AdguardTeam / AdguardTeam/Scriptlets
Fix set-constant — scriptlet cannot prevent redirect on vrsumo.com
Aberta
bug
Priority: P4
site-specific
- Linguagem predominante
- JavaScript
- Estrelas
- 195
- Forks
- 33
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
There is an issue related to the scriptlet `set-constant`.
1. Add these rules
```
vrsumo.com#@%#Object.defineProperty(window, 'offer', { value: ''});
vrsumo.com#%#//scriptlet('set-constant', 'offer', '')
```
2. 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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.