From 4ff42ead0fd649acacf6c6a421bda1aeaa042938 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sat, 27 Apr 2024 22:45:44 +0800 Subject: [PATCH] revert side panel usage --- manifest.json | 4 ++-- scripts/actions.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 5fc2709..a245c06 100644 --- a/manifest.json +++ b/manifest.json @@ -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" diff --git a/scripts/actions.js b/scripts/actions.js index c279236..336b215 100644 --- a/scripts/actions.js +++ b/scripts/actions.js @@ -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(); };