修复配置也会错乱的bug

This commit is contained in:
xu_yanfeng
2025-01-27 21:00:51 +08:00
parent 36680bbf3d
commit eff88ea20c
4 changed files with 17 additions and 24 deletions

View File

@@ -39,6 +39,9 @@ chrome.runtime.onMessage.addListener((request: PluginEvent, sender: any, sendRes
}
});
chrome.tabs.onActivated.addListener(({ tabId, windowId }) => {});
chrome.tabs.onRemoved.addListener((tabId, removeInfo) => {
//
});
chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
// 页面发生刷新,通知重新生成数据
if (changeInfo.status === "complete") {