violentmonkey / violentmonkey/violentmonkey.github.io

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

Đang mở
#69 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

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:
  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

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.