Answers for "open new window chrome extension"

0

open new window chrome extension

chrome.browserAction.onClicked.addListener(function(tab) {
  chrome.windows.create({
    // Just use the full URL if you need to open an external page
    url: chrome.runtime.getURL("mypage.html")
  });
});
Posted by: Guest on August-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language