This commit is contained in:
2025-03-07 17:45:17 +08:00
commit 936af0c4ec
114 changed files with 37662 additions and 0 deletions

7
extension/background.js Normal file
View File

@@ -0,0 +1,7 @@
// Open the side panel when the extension icon is clicked
chrome.action.onClicked.addListener((tab) => {
chrome.sidePanel.open({ tabId: tab.id });
});
// Set the side panel as open by default for all pages
chrome.sidePanel.setOptions({ enabled: true });