Fix CSS injection on about:blank pages
This commit is contained in:
parent
3d27e80ae6
commit
e173a71ba6
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user