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