Skip to content

Commit 0243a14

Browse files
committed
Ignore start_page transition for popup-blocking purpose
Related issue: uBlockOrigin/uBlock-issues#2227
1 parent b4eae1e commit 0243a14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

platform/chromium/vapi-background-ext.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
// so we synthetize these missing events when this happens.
2727
// https://github.com/uBlockOrigin/uAssets/issues/10323
2828
// Also mind whether the new tab is launched from an external application.
29+
// https://github.com/uBlockOrigin/uBlock-issues/issues/2227
30+
// Revert commit related to issue above.
2931

3032
vAPI.Tabs = class extends vAPI.Tabs {
3133
constructor() {
@@ -66,8 +68,7 @@ vAPI.Tabs = class extends vAPI.Tabs {
6668
const isClientRedirect =
6769
Array.isArray(details.transitionQualifiers) &&
6870
details.transitionQualifiers.includes('client_redirect');
69-
const isStartPage = details.transitionType === 'start_page';
70-
if ( isClientRedirect === false && isStartPage === false ) { return; }
71+
if ( isClientRedirect === false ) { return; }
7172
this.onCreatedNavigationTargetHandler({
7273
tabId: details.tabId,
7374
sourceTabId: details.tabId,

0 commit comments

Comments
 (0)