mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Do not block root document at launch in Chromium-based browsers
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2063
This commit is contained in:
parent
0c7318d6f7
commit
78a15b648f
1 changed files with 3 additions and 0 deletions
|
@ -181,8 +181,11 @@ vAPI.Tabs = class extends vAPI.Tabs {
|
|||
return Array.from(out);
|
||||
}
|
||||
|
||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/2063
|
||||
// Do not interfere with root document
|
||||
suspendOneRequest(details) {
|
||||
this.suspendedTabIds.add(details.tabId);
|
||||
if ( details.type === 'main_frame' ) { return; }
|
||||
return {
|
||||
redirectUrl: vAPI.getURL(`web_accessible_resources/empty?secret=${vAPI.warSecret()}`)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue