violentmonkey / violentmonkey/violentmonkey.github.io

[BUG] Exclusionary rules to the Injection blacklist settings are ignored

オープン
#69 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
MDX
スター
55
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

説明

Sequence of actions:
  1. Set the following Injection blacklists under the Blacklist settings:
file://*/*
@exclude-match file://*/*.webm
  1. Install the following userscript:
https://github.com/WhatIsThisImNotGoodWithComputers/webm-looper-userscript/raw/master/webm-looper.user.js
  1. Open a local WebM file in the browser (e.g., file:///home/user/Downloads/sample.webm).
Problem:

Our userscript fails to execute indicating that our exclusionary rule was ignored. When clicking the greyed out Violentmonkey extension icon on the page that our WebM is playing in, the following message is displayed:

Blacklisted in Violentmonkey's settings
file://*/*

I tried these other following exclusionary rules which produced the same result:

@exclude file://*/*.webm
@exclude-match *://*/*.webm
@exclude *://*/*.webm
Expected result:

Our userscript should execute due to the inclusion of the @exclude-match rule.

Devtools console contents:
Environment:
  • OS: Debian GNU/Linux 12 (bookworm) x86_64
  • Browser: Mozilla Firefox 142.0 (64-bit)
  • Violentmonkey Version: 2.31.0

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ローカルの WebM ファイルとリンクされた userscript を Firefox で使用して、報告された blacklist の設定を再現します。blacklist と除外マッチングのエントリポイントを調査します。完了の条件は、除外ルールによって一致する WebM URL で userscript が許可され、一方でより広範な file:// blacklist は引き続き他の URL をブロックすることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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