diff --git a/scripts/GUI/browser.icon.js b/scripts/GUI/browser.icon.js new file mode 100644 index 0000000..d514ee8 --- /dev/null +++ b/scripts/GUI/browser.icon.js @@ -0,0 +1,11 @@ +class BrowserIcon { + /* Change the extension icon. + + @param {string} path The path to the icon. + */ + static set(path) { + chrome.browserAction.setIcon({"path": path}); + }; +}; + +export {BrowserIcon as default}; \ No newline at end of file