From b0f89401ff864ec06f31a3bddcde0d75de3611d7 Mon Sep 17 00:00:00 2001 From: hogashi Date: Mon, 9 Jan 2023 19:36:17 +0900 Subject: [PATCH] migrate to MV3 --- dist/manifest.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dist/manifest.json b/dist/manifest.json index d6b2c848..d08ba163 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -1,7 +1,7 @@ { - "manifest_version": 2, + "manifest_version": 3, "name": "twitter画像原寸ボタン", - "version": "4.2.0", + "version": "5.0.0", "description": "twitterの画像ツイートにボタンを追加する拡張機能。追加されたボタンを押すとツイートの画像を原寸で新しいタブに表示する。連絡先: @hogextend", "author": "hogashi", "permissions": ["tabs", "storage"], @@ -22,10 +22,9 @@ } ], "background": { - "scripts": ["js/background.bundle.js"], - "persistent": false + "service_worker": "js/background.bundle.js" }, - "browser_action": { + "action": { "default_icon": "icons/icon.png", "default_title": "twitter画像原寸ボタン", "default_popup": "html/popup.html"