PhishGuardian/extension/background.js

9 lines
180 B
JavaScript

chrome.action.onClicked.addListener((tab) => {
chrome.windows.create({
url: chrome.runtime.getURL("popup.html"),
type: "popup",
width: 850,
height: 700
});
});