Extensions can't run on file:// pages: no way to enable "Allow access to file URLs" (per-space setting is inconsistent)
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reading the extension management and per-space settings code to find where Yab stores extension preferences and exposes them in the UI; the issue does not name specific files or tests. Check how the existing newAllowFileAccess value is read and written. Done means users can enable file URL access for an extension in each space and the extension works on local file:// pages.
Written by the indexing model from the issue text.
Description
Environment
- Yab 0.49.1 (macOS), Chromium engine
- Extension: Tell AI Where v1.2.0 (
mmjhngepomedhjijcfdagcembihoghao, Chrome Web Store, MV3, uses activeTab + scripting)
Problem
Clicking the extension on a local file:// page does nothing in one space but works in another. In Chrome this is controlled by the "Allow access to file URLs" toggle on chrome://extensions, but Yab has no chrome://extensions page and no equivalent setting, so there is no way to turn it on.
What I found
- In my work space, the extension's
newAllowFileAccessistruein Secure Preferences (looks like it was carried over during import), and the extension works onfile://pages. - In my Personal space,
newAllowFileAccessis unset, and the extension does nothing onfile://pages. - Same Yab install, same extension version. The only difference is this flag.
Steps to reproduce
- Install an extension that injects with
activeTab+scripting(e.g. Tell AI Where). - Open a local file (e.g. a
.html) in Yab. - Click the extension.
Expected: Users can enable file URL access per extension (as in Chrome), and the extension works on file:// pages.
Actual: The extension silently fails, and there's no UI to enable access. Whether it works depends on hidden per-space state.
Related: #927 (another extension compatibility issue).
- Dominant language
- Swift
- Stars
- 648
- Forks
- 56
- Avg merge
- 21h 14m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from yetanotherbrowser/yab
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yetanotherbrowser/yab#1008 ·
Maintainers usually reply within 2 days
-
area: passwords Broken bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
yetanotherbrowser/yab#923 ·
Maintainers usually reply within 2 days
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
yetanotherbrowser/yab#918 · 1 reaction ·
Maintainers usually reply within 2 days
-
iPhone: the + button and the checkmark sit on top of the Space switcher in the bottom barPossibly taken @ChaseRoofener claimed this 3 days ago. OpenAnnoying area: iphone bug needs info
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
yetanotherbrowser/yab#915 · 3 comments ·
Maintainers usually reply within 2 days
-
CONTRIBUTING.md and CI run scripts/runs/tests_for.py, which is not in the repositoryPossibly taken @serafimcloud claimed this 2 days ago. OpenAnnoying in progress
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
yetanotherbrowser/yab#875 · 1 comment ·
Maintainers usually reply within 2 days
All issues in yetanotherbrowser/yab
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Ranchero-Software/NetNewsWire#5572 ·
Maintainers usually reply within 11 days
-
api beginner story
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NCSU-App-Development-Club/ios_fall_26#86 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
swift-server/async-http-client#950 · 1 comment ·