Closed thekevinbrown closed 8 years ago
It's not possible to implement kango.ui.optionsPage.open
using chrome.runtime.openOptionsPage
because kango.ui.optionsPage.open
accepts hash
argument.
In that case could you mention the required permission on the documentation here:
http://kangoextensions.com/docs/api-reference/kango-ui-optionsPage.html
It was really confusing that it just silently failed once the pages permission was gone.
Hi guys,
Our extension doesn't require the "tabs" permission because we don't need any of that advanced stuff. I noticed without this permission
kango.ui.optionsPage.open()
seems to fail silently on Chrome.I tested, and
chrome.runtime.openOptionsPage()
works fine without the tabs permission, so I'm currently using this code:I think
kango.ui.optionsPage.open
should simply translate to a call tochrome.runtime.openOptionsPage
on Chrome.