commit | 9ff52fea6974e67e8a88d81cfdc99fe0c01210e7 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Thu Sep 15 12:27:49 2022 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Mon Nov 14 20:21:12 2022 +0100 |
tree | 7f01d90ce1f2cc9b663b2a51a35caf9213952bbd | |
parent | fd18d735a7a8b61e4bbb339b456bb828f8c1a52f [diff] |
[MV2] Temporary fix for the unique tab feature The unique tab feature doesn't work correctly in the MV2 variant of the extension. This CL fixes this by changing how the data managed by the sessionStorage class is stored in the MV2 variant: - Before, it was saved in the window object, which was erased each time the background script was turned inactive by the browser. This behavior was fine for most data, but not for the "translatorTab" data, which is why there was this bug. - Now, it's saved in the persisted "local" storage area. For more information about this behavior, read the comment added to the //src/common/sessionStorage_mv2.js file. Fixed: twpowertools:18 Change-Id: Ie3979937f4bd0699b57506666beace3ffe00172a
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 in our issue tracker: https://bugs.avm99963.com/p/translateselectedtext.
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:
If you want to contribute to the development of the extension, you're more than welcome! The documentation for this project is currently very poor, but please open an issue in the issue tracker if you're willing to contribute and I'll make sure to prioritize writing the documentation for this extension!