revert side panel usage

This commit is contained in:
buzz-lightsnack-2007 2024-04-27 22:45:44 +08:00
parent d50999d441
commit 4ff42ead0f
2 changed files with 2 additions and 4 deletions

View file

@ -5,11 +5,11 @@
"version": "0",
"minimum_chrome_version": "114",
"permissions": [ "tabs", "activeTab", "storage", "unlimitedStorage", "sidePanel", "contextMenus"],
"permissions": ["tabs", "storage", "unlimitedStorage", "contextMenus"],
"action": {
"default_icon": "media/icons/logo_no_tiny.png",
"default_title": "Click to open panel"
"default_popup": "pages/popup.htm"
},
"side_panel": {
"default_path": "pages/popup.htm"

View file

@ -3,8 +3,6 @@ import EntryManager from "/scripts/GUI/entrypoints/manager.js"
export default class user_actions {
static init() {
chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true }).catch((error) => console.error(error));
user_actions.tabs();
};