file:/// pattern not supported in content_script[matches]
Open
@nishu-murmu is already working on this.
Since Jul 4, 2026.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
Feature Request
The url pattern file:/// isn't supported by wxt and gives a suggestion to open a PR. However this pattern is widely used across browsers including chrome and firefox. Many developers such as myself have to use the file:/// pattern for various reason and this is now seriously becoming a hurdle in one of my bigger projects. If possible can I open a PR for this issue/bug.
Is your feature request related to a bug?
N/A
What are the alternatives?
I don't there's an alternative. We can still use <all_urls> but that is just another burden in dev environment.
Additional context
I have attached a screenshot of the error just for reference.
Contributor 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.
Assessment
This issue has not been assessed yet.