[Bug] Extension can't access local files/sites even when permission is granted in chromium-based browsers on linux
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start by reproducing the report with a local saved page in Brave on Linux, with “Allow access to file URLs” enabled, and compare the extension’s detected site name and protection status with the page behavior. The report names no source files or tests, so trace how the extension checks local file access across Chromium browsers. Done means the local page is correctly darkened and the extension no longer reports it as protected.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Prerequisites
- I searched for any existing report about this bug to avoid opening a duplicate.
- I can reproduce this bug in a new, unmodified web browser profile with Dark Reader installed as the only extension.
- I understand I need to use the Broken Website Report template if this bug I am reporting occurs on a single website.
Bug Description
For local files (file://...) Dark Reader extension displays 'about:blank' in site name section and states "protected by browser" disregarding the flag for "allow access to local files" set to on in extension settings.
Tested mainly on brave (screenshots provided) but behaviour persisted among other chromium-based browsers (source: trust me).
Website Address
file://*
Steps To Reproduce
- Be on linux
- Install brave browser and make sure it's not snap:
yay -S brave-binfor archlinux - Open browser, install dark reader extension and delete/remove all other extensions
- Have some locally saved page of a website
- Open the saved page
Expected Behavior
Page should be correctly processed and appear darkened
Actual Behavior
Page got processed but didn't render correctly and therefore flashbanged me.
Dark Reader says "about:blank" and "page is protected ...".
(something did happen -- stuff from "save as" of the page is attached)
Screenshots
Sample page with flashbang and misbehaviour:
Dark reader extension settings:
Operating System
linux
Web Browser name and version
brave 1.98.60 (chromium 156)
Dark Reader version
4.9.133
Additional Context
Stuff that got saved on "save as" on sample page: sample-page.zip
- Ngôn ngữ chính
- TypeScript
- Star
- 22.6k
- Fork
- 2.8k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 82
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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.
Issue khác của darkreader/darkreader
-
Broken Website
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
darkreader/darkreader#16259 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Broken Website
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
darkreader/darkreader#16126 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Pay to use?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
darkreader/darkreader#16108 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
darkreader/darkreader#16100 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Broken Website
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
darkreader/darkreader#15999 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của darkreader/darkreader
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
knaw-huc/textannoviz#742 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
cloudflare/realtimekit-ui#219 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaksCó thể đã có người làm @argszero đã nhận hôm nay. Đang mởarea/tui platform/wsl status/repro-simulated type/bug version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
anomalyco/opencode#66773 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
mermaid-js/mermaid-v13#1370 ·
Maintainer thường phản hồi trong vòng 1 ngày