violentmonkey / violentmonkey/violentmonkey.github.io
[BUG] Exclusionary rules to the Injection blacklist settings are ignored
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 55
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Sequence of actions:
- Set the following Injection blacklists under the Blacklist settings:
file://*/*
@exclude-match file://*/*.webm
- Install the following userscript:
https://github.com/WhatIsThisImNotGoodWithComputers/webm-looper-userscript/raw/master/webm-looper.user.js
- 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported blacklist setup with a local WebM file and the linked userscript in Firefox. Inspect the blacklist and exclusion-matching entry points; done means an exclusion rule allows the userscript on matching WebM URLs while the broader file:// blacklist still blocks other URLs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100