violentmonkey / violentmonkey/violentmonkey.github.io
[BUG] Exclusionary rules to the Injection blacklist settings are ignored
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- MDX
- Star
- 55
- Fork
- 35
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện thiết lập blacklist được báo cáo bằng một tệp WebM cục bộ và userscript được liên kết trong Firefox. Kiểm tra các điểm vào của blacklist và việc khớp loại trừ; được xem là hoàn tất khi một quy tắc loại trừ cho phép userscript trên các URL WebM khớp, trong khi blacklist file:// rộng hơn vẫn chặn các URL khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100