You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
fms/plugin/assets/js/background.js

5 lines
216 B

const extensionIconClickListener = () => {
chrome.tabs.create({ url: 'chrome-extension://' + chrome.runtime.id + '/popup/index.html' });
};
chrome.browserAction.onClicked.addListener(extensionIconClickListener);