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

Offen
#69 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript
Bereich
tooling

Rechercherichtung

Reproduziere das gemeldete Blacklist-Setup mit einer lokalen WebM-Datei und dem verlinkten userscript in Firefox. Untersuche die Einstiegspunkte für Blacklist- und Ausschlussabgleich; abgeschlossen ist die Aufgabe, wenn eine Ausschlussregel das userscript bei passenden WebM-URLs zulässt, während die umfassendere file://-Blacklist weiterhin andere URLs blockiert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
MDX
Sterne
55
Forks
35
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus violentmonkey/violentmonkey.github.io

Alle Issues in violentmonkey/violentmonkey.github.io

Ähnliche Issues

Weitere Issues zu DevTools

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.