|author||Adrià Vilanova Martínez <firstname.lastname@example.org>||Tue May 31 15:05:21 2022 +0200|
|committer||Adrià Vilanova Martínez <email@example.com>||Tue May 31 15:30:35 2022 +0200|
Add initial MV3 support In order to prepare the migration towards Manifest Version 3, this change adds a MV3 browser target for Chromium (chromium_mv3) and another one for Edge (edge_mv3), which will build the extension using MV3. This CL also changes several things to fix some bugs in the MV3 version of the extension: - Adds //src/common/actionApi.js to target |chrome.browserAction| (MV2) and |chrome.action| (MV3) accordingly using the version-agnostic object |actionApi|. - Adds //src/common/sessionStorage.js to wrap the |chrome.storage.session| object in the case of MV3, and polyfill it in the case of MV2. (The polyfill isn't perfect, since it stores the data under the window object of the current page, so different pages will have access to completely different storage areas, which are cleared once the page is closed, not once the extension stops running. However, this is fine for our case.) As of now, the extension built with MV3 might have bugs. Thus, the MV3 variant will not be used for builds until it has been stabilized. Bug: translateselectedtext:4 Change-Id: Ib525339c055237b32b7352c490fee86b21555ed6
The source code of the Chrome "Translate Selected Text" extension.
If you want to help bring this extension into your native language, you can, and I would really appreciate it! Just go to the following website and start translating :)
Please, report any bugs or feature sugestions at GitHub: https://github.com/avm99963/translateselectedtext/issues
As this extension has so many users, I've decided to upload a Beta version of the extension to the Chrome Web Store so I can test it before uploading any update to the stable version! This way I can make sure that the stable version of the extension is 100% bug-free.
If you want to test the bleeding edge of this extension before everybody else, join the Google Group and download the extension (there may be bugs, you've been warned):
Special thanks to: