使用Chrome扩展程序在分机关闭时运行功能

时间:2014-02-16 12:04:39

标签: google-chrome google-chrome-extension google-chrome-devtools

快速提问。

当弹出窗口关闭时,有没有办法在Chrome扩展程序中运行某个功能?

e.g。

chrome.popup.onClose(function(){
    chrome.tabs.remove(mySpawnedTab.id)
});

干杯

0 个答案:

没有答案
相关问题