I found this very useful answer for my question but it is not working for me: Can an app or extension open files on system with permission "<all_urls>"?
Here is a part of my manifest.json:
...
"content_scripts": [
{
"matches": [<all_urls>], // tried also "file:///*"
...
"permissions": [
"activeTab",
"background",
"tabs",
"<all_urls>"
],
...
And also I got my "Allow access to file URLs" box checked in the extensnions:// tab.
Still, the Content script tab in the Developer tools is empty when I open a local html file:///
Extension is loaded for http:// urls, no probs.
Anybody has any idea if there is something more or am I missing something?
<all_urls>
inmatches
should be in quotes. But I assume you've actually done that and it's just a copy/paste error here, because Chrome would complain if you had that in your manifest. – Teepeemm"<all_urls>"
+ that checkbox unless you indeed have the above typo. – wOxxOm