chrome.runtime.openOptionsPage

This commit is contained in:
Andrew Fong
2015-09-16 00:02:35 +00:00
parent 68374669bf
commit fda3f446c8
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -249,3 +249,12 @@ function contentSettings() {
}
});
}
// https://developer.chrome.com/extensions/runtime#method-openOptionsPage
function testOptionsPage() {
chrome.runtime.openOptionsPage();
chrome.runtime.openOptionsPage(function() {
// Do a thing ...
});
}