Redirect to internal pages (like `chrome://apps`)
Failed to redirect new tab to apps page (chrome://apps/).
Maybe change document.location.href to chrome.tabs.update until #11854 of chromium is resolved?
Hmm, using chrome.tabs.update will cause recovering from crashed chrome hard: chromium/#67755
Thanks, @weakish. I'm going to guess that chrome "bug" applies to the existing implementation too.
I'll look a chrome.tabs.
@smblott-github chromium/#67755 does not affect document.location.href.
So, b2d9204bfe1267779bb347d7b7535fd0b03af304 fixes your original issue.
hi, the plugin seems not to work opening a new tab for this URL: chrome-extension://nlipoenfbbikpbjkfpfillcgkobtgpmj/upload.html (addon page from https://www.awesomescreenshot.com/)
@maustyle I took a look at the code (it's only about 15 lines). There's nothing in there to prevent the redirection per se. I suspect it's a Chrome "security feature". (So, probably nothing I can do.)
chrome://bookmarks/... URLs don't work either, sadly.