aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 14:34:49 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 21:46:13 -0500
commite173a71ba631533a2a0a64ffe4d8883d7300802e (patch)
tree4bb0a969d30a0cc1ad27759f9bc69a931d013e5f /ext/bg/js/backend.js
parent3d27e80ae646bcc9c421cbc8aa281008f47c8992 (diff)
Fix CSS injection on about:blank pages
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index eeed841c..458ea483 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -512,13 +512,15 @@ class Backend {
file: value,
runAt: 'document_start',
cssOrigin: 'author',
- allFrames: false
+ allFrames: false,
+ matchAboutBlank: true
} :
{
code: value,
runAt: 'document_start',
cssOrigin: 'user',
- allFrames: false
+ allFrames: false,
+ matchAboutBlank: true
}
);
if (typeof frameId === 'number') {