AdguardTeam / AdguardTeam/Scriptlets

Fix set-constant — scriptlet cannot prevent redirect on vrsumo.com

オープン
#280 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug Priority: P4 site-specific
主要言語
JavaScript
スター
195
フォーク
33
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。