chrome-new-tab-url icon indicating copy to clipboard operation
chrome-new-tab-url copied to clipboard

Redirect to internal pages (like `chrome://apps`)

Open weakish opened this issue 10 years ago • 7 comments

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?

weakish avatar May 14 '15 15:05 weakish

Hmm, using chrome.tabs.update will cause recovering from crashed chrome hard: chromium/#67755

weakish avatar May 14 '15 15:05 weakish

Thanks, @weakish. I'm going to guess that chrome "bug" applies to the existing implementation too.

I'll look a chrome.tabs.

smblott-github avatar May 14 '15 16:05 smblott-github

@smblott-github chromium/#67755 does not affect document.location.href.

weakish avatar May 14 '15 16:05 weakish

So, b2d9204bfe1267779bb347d7b7535fd0b03af304 fixes your original issue.

smblott-github avatar May 14 '15 16:05 smblott-github

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/)

m7ess5 avatar Jun 05 '18 01:06 m7ess5

@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.)

smblott-github avatar Jun 05 '18 08:06 smblott-github

chrome://bookmarks/... URLs don't work either, sadly.

tgr avatar Apr 15 '19 02:04 tgr