Modifying the built-in newtab page

Viewed 2581

I am not able to run my content script on the new tab page (where it is not assigned to any url).

I looked at various posts on the subject, ie, Does content script have access to newtab page? and What is the URL of the google chrome new tab page and how to exclude it from manifest.json

which seem to suggest it is possible.

I enabled chrome://flags/#extensions-on-chrome-urls

I have:

"permissions": [
    "http://*/*", 
    "https://*/*",
    "chrome://*/*"
],

(also tried "*://*/_/chrome/newtab*")

still no luck ... what am I missing ?

this answer Can you access chrome:// pages from an extension? mentsions "wildcards are not accepted". Is this true ? and if so how to specify the newtab page ?

1 Answers
Related