mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 02:12:44 +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
@ -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 New Issue
Block a user