From e173a71ba631533a2a0a64ffe4d8883d7300802e Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 16 Feb 2020 14:34:49 -0500 Subject: [PATCH] Fix CSS injection on about:blank pages --- ext/bg/js/backend.js | 6 ++++-- 1 file 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') {