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, file: value,
runAt: 'document_start', runAt: 'document_start',
cssOrigin: 'author', cssOrigin: 'author',
allFrames: false allFrames: false,
matchAboutBlank: true
} : } :
{ {
code: value, code: value,
runAt: 'document_start', runAt: 'document_start',
cssOrigin: 'user', cssOrigin: 'user',
allFrames: false allFrames: false,
matchAboutBlank: true
} }
); );
if (typeof frameId === 'number') { if (typeof frameId === 'number') {