From ef22edd936516503e930c027db052037b63728db Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Thu, 25 Apr 2024 03:48:34 +0900 Subject: [PATCH] Window size --- background.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/background.js b/background.js index 432589e..b67b6f2 100644 --- a/background.js +++ b/background.js @@ -35,8 +35,10 @@ chrome.runtime.onMessage.addListener( chrome.browserAction.onClicked.addListener(function(tab) { chrome.windows.create({ - url: "popup.html", // 開きたいURLを指定 - type: "popup" // 新規ウィンドウを開く + url: "popup.html", + type: "popup", + width: 820, + height: 600 }); });