dvcolgan dvcolgan - 1 year ago 78
Javascript Question

Programmatically open a Chrome plugin's options.html page?

Is there a way to open a Google Chrome plugin's options.html page via Javascript in background.html?

Answer Source
chrome.tabs.create({ url: "options.html" });


Starting with version 40, Chrome now uses a new popup options dialog from the extension management page instead of dedicated options pages (which are being deprecated). You can still achieve the same effect with a modification to the URL.

chrome.tabs.create({ 'url': 'chrome://extensions/?options=' + chrome.runtime.id });
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download