Event Dime
Requesting `file:///*` permission dynamically via `browser.permissions.request()`
- When:
- June 23, 2026 · 8:54 AM
- Where:
- Latest Add
- Source:
- Latest Add
Hey all, With Firefox 153 making file access opt-in ( here ), I’ve been thinking about how extensions should handle this. Currently, browser.permissions.request() works fine for requesting host permissions like "" at runtime, which triggers the “Access your data for all websites” prompt. What I haven’t been able to confirm is whether the same approach works for file:///*: browser.permissions.request( origins: ["file:///*"] ); From what I can tell, this does not work - Firefox doesn’t prompt the