I have a chrome extension with an options page. The options page works correctly and I can get to it from the extensions page, however I'd also like a link to it within the popup of my extension. Is this possible? It doesn't seem to have a url but is there a way to tell chrome to link to the extensions options?
With the extension installed, simply highlight the text you want to link to, right click, and select “Copy Link to Selected Text.” This can then be shared and opened by anyone using a compatible browser.
Open the Chrome app, then tap the Menu key to access its Options menu. Besides the options, there are three icons in a bar at the top of the menu. – Displays the previously accessed page.
New method since Chrome 42:
chrome.runtime.openOptionsPage()
will open the options, regardless of whether new-style embedded options or old-style options page is used.
chrome.runtime.openOptionsPage()
will always open the canonical location, and has nice behavior like re-focusing an open options page if there is one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With