Fix CSS injection on about:blank pages

This commit is contained in:
toasted-nutbread 2020-02-16 14:34:49 -05:00
parent 3d27e80ae6
commit e173a71ba6

View File

@ -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') {