Google chrome 在使用Chrome扩展关闭扩展时运行函数
快速提问 当Chrome插件的弹出窗口关闭时,是否有办法在其中运行功能 e、 gGoogle chrome 在使用Chrome扩展关闭扩展时运行函数,google-chrome,google-chrome-extension,google-chrome-devtools,Google Chrome,Google Chrome Extension,Google Chrome Devtools,快速提问 当Chrome插件的弹出窗口关闭时,是否有办法在其中运行功能 e、 g 干杯可能是另一个的重复答案没问题 chrome.popup.onClose(function(){ chrome.tabs.remove(mySpawnedTab.id) });
干杯可能是另一个的重复答案没问题
chrome.popup.onClose(function(){
chrome.tabs.remove(mySpawnedTab.id)
});