itagagaki / DeepL-Selected-Text

Translate selected text with DeepL
https://github.com/itagagaki/DeepL-Selected-Text
8 stars 6 forks source link

does not work in Thunderbird 102.13.* anymore #7

Closed MarkyMarkDE closed 1 year ago

MarkyMarkDE commented 1 year ago

unfortunately the addon no longer works in thunderbird 102.13.*. Numerous error messages appear in the error console. It would be nice to fix the addon again.

These are the errors:

19:41:17.801 TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object. ExtensionContent.jsm:574:25 19:41:19.353 TypeError: r is null translator_late.min.$4e2dab.js:44:688844 19:41:22.730 sendRemoveListener on closed conduit languagetool-mailextension@languagetool.org.1649267441664 2 ConduitsChild.jsm:112

itagagaki commented 1 year ago

It is working on 102.13.0 at my end. First, could you try disabling other add-ons, if any?

MarkyMarkDE commented 1 year ago

i have had disabled all other addons and nothing worked, maybe it's an OS specific bug? Im on Ubuntu 22.04.2 (Wayland)

07:42:51.743 Das Cookie "rgReload" wurde abgelehnt, da es bereits abgelaufen ist. translator 07:42:51.743 Das Cookie "dapUid" wurde abgelehnt, da es bereits abgelaufen ist. translator 07:42:52.624 TypeError: r is null translator_late.min.$4e2dab.js:44:688844

I have had marked the text for translation and do right click "Translate with DeepL" the popup comes up and my selected text is not in the deepl window. Seems the addon has no access to clipboard, right?

But this addon: https://addons.thunderbird.net/en-US/thunderbird/addon/web_translate/ doesn't also work ...

itagagaki commented 1 year ago

Now then, please try the solutions described in #6

itagagaki commented 1 year ago

Duplicate #6