Closed eetann closed 2 years ago
English version of the text follows below the Japanese 🙏
Chrome拡張機能は、2023年1月までにmanifest v2からv3に移行する必要があります。このプルリクエストはその移行の対応をしました。
manifest v3への移行について、いくつかリンクを載せます。もしご存知でしたら申し訳ございません。
公式ドキュメントに掲載されている移行手順 Migrating to Manifest V3 - Chrome Developers に沿って変更しました。変更の概要は以下のとおりです。
manifest_version
Service worker
LocalStorageRepository
browser_action
page_action
action
chrome.extension.getURL
chrome.runtime.getURL
npm run test
Chrome extensions must migrate from manifest v2 to v3 by January 2023. This pull request addresses that migration.
I will post some links regarding the migration to manifest v3. If you know of any, I apologize.
Migration instructions in the official documentation Migrating to Manifest V3 - Chrome Developers. Here is a summary of the changes
English version of the text follows below the Japanese 🙏
概要
Chrome拡張機能は、2023年1月までにmanifest v2からv3に移行する必要があります。このプルリクエストはその移行の対応をしました。
manifest v3への移行について、いくつかリンクを載せます。もしご存知でしたら申し訳ございません。
変更の詳細
公式ドキュメントに掲載されている移行手順 Migrating to Manifest V3 - Chrome Developers に沿って変更しました。変更の概要は以下のとおりです。
manifest_version
を2から3へService worker
として動くようにmanifest・scriptを変更LocalStorageRepository
を使って書き換えましたbrowser_action
とpage_action
が統合され、action
になりました。それに伴ってmanifest・APIともに変更していますchrome.extension.getURL
→chrome.runtime.getURL
その他
npm run test
→ 31 passingOverview
Chrome extensions must migrate from manifest v2 to v3 by January 2023. This pull request addresses that migration.
I will post some links regarding the migration to manifest v3. If you know of any, I apologize.
Change Details
Migration instructions in the official documentation Migrating to Manifest V3 - Chrome Developers. Here is a summary of the changes
manifest_version
from 2 to 3Service worker
LocalStorageRepository
wrapper for chrome.storage that was written in this extension.browser_action
andpage_action
have been merged intoaction
. Therefore, both manifest and API have been changed.chrome.extension.getURL
->chrome.runtime.getURL
.etc.
npm run test
→ 31 passing