javascript - Chrome Extension full page or Chrome Packaged App in browser -
i know if there's way can create chrome packaged app or extension in can open complex gui in browser (similar if visit settings or extensions pages of chrome, tab that's built browser). know can launch new window packaged app or "popup" chrome extension. want able launch new chrome instance app inside of chrome:// page. possible?
i know there have been work arounds mentioned, such using chrome extension open tab communicate background app, seems of hack. there more elegant accomplish this?
thanks in advance!
you can have temporary page open when app button clicked empty page open new tab app page want using chrome.tabs api
chrome.tabs.create({url:'http://www.google.com/'});
of course replace url qualified path desired page using
chrome.extension.geturl('relative app path here')
then call
history.back();
to return new tab page.
Comments
Post a Comment