[Bug] Extension can't access local files/sites even when permission is granted in chromium-based browsers on linux
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript, typescript
- 領域
- frontend
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- TypeScript
- 星號
- 22.6k
- 分支
- 2.8k
- 平均合併
- 1 天 17 小時
- 30 天內合併 PR
- 82
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
darkreader/darkreader 的其他 Issue
-
Broken Website
難度 2/5 1-3 小時 新手友好度 64/100
darkreader/darkreader#16259 ·
維護者通常 2 天內回覆
-
Broken Website
難度 2/5 1-3 小時 新手友好度 72/100
darkreader/darkreader#16126 · 1 則留言 ·
維護者通常 2 天內回覆
-
Pay to use?未關閉
難度 1/5 1 小時以內 新手友好度 66/100
darkreader/darkreader#16108 · 7 則留言 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 70/100
darkreader/darkreader#16100 · 1 則留言 · 1 個 reaction ·
維護者通常 2 天內回覆
-
Broken Website
難度 2/5 1-3 小時 新手友好度 72/100
darkreader/darkreader#15999 · 5 則留言 ·
維護者通常 2 天內回覆
查看 darkreader/darkreader 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 67/100
knaw-huc/textannoviz#742 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
cloudflare/realtimekit-ui#219 ·
維護者通常 1 天內回覆
-
ui
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
tui: Mermaid renderer displays <b>/<strong> tags literally and ignores \n line breaks可能已有人在做 @argszero 今天認領。 未關閉area/tui platform/wsl status/repro-simulated type/bug version/v2
難度 2/5 1-3 小時 新手友好度 82/100
anomalyco/opencode#66773 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
mermaid-js/mermaid-v13#1370 ·
維護者通常 1 天內回覆