diff --git a/background.js b/background.js index 2bb02a8d..8fbffe2a 100644 --- a/background.js +++ b/background.js @@ -144,8 +144,8 @@ function getApplicableSections(style, url) { } function sectionAppliesToUrl(section, url) { - // only http, https, and file allowed - if (url.indexOf("http") != 0 && url.indexOf("file") != 0) { + // only http, https, file, and chrome-extension allowed + if (url.indexOf("http") != 0 && url.indexOf("file") != 0 && url.indexOf("chrome-extension") != 0) { return false; } if (!section.urls && !section.domains && !section.urlPrefixes && !section.regexps) { diff --git a/edit.html b/edit.html index 4effcdc5..ebfadde4 100644 --- a/edit.html +++ b/edit.html @@ -89,6 +89,7 @@ +