diff --git a/packages/help-extension/src/index.tsx b/packages/help-extension/src/index.tsx index d025130e7e40..d5944a2bf297 100644 --- a/packages/help-extension/src/index.tsx +++ b/packages/help-extension/src/index.tsx @@ -361,9 +361,13 @@ function activate( execute: args => { const url = args['url'] as string; const text = args['text'] as string; + const newBrowserTab = (args['newBrowserTab'] as boolean) || false; // If help resource will generate a mixed content error, load externally. - if (LAB_IS_SECURE && URLExt.parse(url).protocol !== 'https:') { + if ( + newBrowserTab || + (LAB_IS_SECURE && URLExt.parse(url).protocol !== 'https:') + ) { window.open(url); return; }