AdguardTeam / AdguardTeam/Scriptlets
Fix set-constant — scriptlet cannot prevent redirect on vrsumo.com
Abierto
bug
Priority: P4
site-specific
- Lenguaje dominante
- JavaScript
- Estrellas
- 195
- Forks
- 33
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.