UNPKG

@quasar/app

Version:

Quasar Framework local CLI

11 lines (10 loc) 317 B
// Background code goes here chrome.browserAction.onClicked.addListener((/* tab */) => { // Opens our extension in a new browser window. // Only if a popup isn't defined in the manifest. chrome.tabs.create({ url: chrome.extension.getURL('www/index.html') }, (/* newTab */) => { // Tab opened. }) })