Answer the question
In order to leave comments, you need to log in
Chrome.browserAction is it possible to take an action when the popup closes?
if you click on any part of the browser, the popup will close, or even if you click again. I need a certain function to work if it happens
Answer the question
In order to leave comments, you need to log in
Are you looking for it?
var background = chrome.extension.getBackgroundPage();
addEventListener("unload", function (event) {
background.console.log(event.type);
}, true);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question