I am developing a Chrome extension which will load content script according to the following manifest:
\"content_scripts\" : [
{
\"matches\" : [ \"
Update: As of Chrome 37 (August 26, 2014), you can set the match_about_blank flagDoc to true
to fire for about:blank
pages.
See alib_15's answer below.
For Chrome prior to version 37:
You cannot load a Chrome content script (or userscript) on about:blank
pages.
This is because about:
is not one of the "permitted schemes". From chrome extensions Match Patterns:
A match pattern is essentially a URL that begins with a permitted scheme (
http
,https
,file
,ftp
, orchrome-extension
)...
In this case, you might be better off hijacking makewindow()
.