AdguardTeam / AdguardTeam/SafariConverterLib

Add a helper tool for preparing "registeredScripts"

オープン
#105 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Swift
スター
78
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

The script rules can be known to us (i.e. they exist in one of AdGuard filters) or unknown (added by the user, received from a custom filter).

Known script rules are applied via `browser.scripting.executeScript` which is a safer way that allows to avoid issues with websites' CSP.
Therefore, the library users will naturally be interested in composing this "known script rules" list.

We have several options here:
1. Provide a separate helper tool that will re-compile the registered script rules list.
2. Automatically publish an NPM module with the latest "script rules" and advise to use it (this can be done similarly to how `dnr-rulesets` are prepared).
3. Bundle it within `@adguard/safari-extension` and publish automatically.

So far I like the second approach more.

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

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

評価

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

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

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