new ui using the options page

This commit is contained in:
kawamataryo
2024-11-02 11:32:34 +09:00
committed by kawamataryo
parent cb1c8e605a
commit 58ef98fa70
22 changed files with 1003 additions and 221 deletions

View File

@@ -0,0 +1,11 @@
import type { PlasmoMessaging } from "@plasmohq/messaging";
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
chrome.runtime.openOptionsPage(() => {
if (chrome.runtime.lastError) {
console.error(chrome.runtime.lastError);
}
});
};
export default handler;