https://www.deepl.com/translator broken Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
JoeyG
Astronaut
Astronaut
Posts: 653
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: https://www.deepl.com/translator broken

Unread post by JoeyG » 2022-04-18, 18:11

I know I'm getting into this topic late, but I just wanted to add my observations.

In regard to webcomponents, if I set it to true, deepl works but youtube doesn't. If I leave / set it at the default (false), youtube's OK, but not deepl.

I've decided to go with false. To compensate, I've downloaded deepl for Windows. It's free and works OK on Win 7 and 10. I'm not sure if there's any difference in the quality of the translation or the breadth of features compared with the web version, but it meets my requirements. I have no idea how it works with other OSs.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: https://www.deepl.com/translator broken

Unread post by tellu-white » 2022-04-19, 16:06

Confirmed, https://www.deepl.com/translator only works with "dom.webcomponents.enabled = true" and https://www.virustotal.com/gui/ only works with "dom.webcomponents.enabled = false"

For those who are interested, I made a simple add-on to be able to change the "dom.webcomponents.enabled" setting with one click:

https://www.mediafire.com/file/02tzujld ... f.zip/file

Button "Toggle Web Components On-Off":
Web Components is ON.png
Web Components is OFF.png

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: https://www.deepl.com/translator broken

Unread post by Moonchild » 2022-04-20, 10:15

Certainly a useful little tool - just keep in mind that our WebComponents implementation is incomplete and may be unstable, have security vulnerabilities - or even lead to crashes and data loss in your profile. Using the incomplete implementation is at your own risk and I don't recommend it for the "average user" or to have it enabled on all sites by default. Only enable it if you're visiting a known site that needs it to function.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: https://www.deepl.com/translator broken

Unread post by tellu-white » 2022-04-20, 11:20

Moonchild wrote:
2022-04-20, 10:15
Only enable it if you're visiting a known site that needs it to function.
Thank you for these clarifications.

User avatar
__NM64__
Lunatic
Lunatic
Posts: 359
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: https://www.deepl.com/translator broken

Unread post by __NM64__ » 2022-04-21, 19:48

tellu-white wrote:
2022-04-19, 16:06
For those who are interested, I made a simple add-on to be able to change the "dom.webcomponents.enabled" setting with one click
I'm sure already have thought of it, but a whitelist function for the addon would absolutely take it to the next level - I'm kind of thinking how "Self-destructing cookies" and/or "Crush Those Cookies" has a whitelist where you can specify individual URLs rather than relying purely on a global toggle.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: https://www.deepl.com/translator broken

Unread post by moonbat » 2022-04-22, 00:09

__NM64__ wrote:
2022-04-21, 19:48
a whitelist where you can specify individual URLs rather than relying purely on a global toggle.
Webcomponents doesn't work that way AFAIK, it's a global feature. I had similarly wanted to add a WASM toggle to PermissionsPlus, but that has the same problem of being all or nothing.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: https://www.deepl.com/translator broken

Unread post by Moonchild » 2022-04-22, 00:28

Moonbat is 100% correct. It is global and can only be set as a global enable or disable, due to its deep ties in the JS engine and DOM.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
__NM64__
Lunatic
Lunatic
Posts: 359
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: https://www.deepl.com/translator broken

Unread post by __NM64__ » 2022-04-23, 21:04

Moonchild wrote:
2022-04-22, 00:28
It is global and can only be set as a global enable or disable, due to its deep ties in the JS engine and DOM.
Forgive my software-dev ignorance but is this still the case if it is simply toggling the global enable/disable when you simply visit a given domain?

Obviously this would be less-than-ideal for if you have multiple tabs open, but wouldn't that still only be an issue if you're loading multiple tabs at the same time? I know dynamic javascript websites are a thing now, but even the "swarth" extension managed to somehow figure out how to identify when a webpage does the fancy-pants "dynamic javascript loading" thing in that it's able to still apply different settings whether you navigated directly to a given URL or loaded the URL through the fancy-pants "dynamic javascript loading" thing.

User avatar
Mæstro
Lunatic
Lunatic
Posts: 463
Joined: 2019-08-13, 00:30
Location: Casumia

Re: https://www.deepl.com/translator broken

Unread post by Mæstro » 2022-04-23, 22:10

Here might be a good place to mention an occasional glitch on DeepL’s translator that I have suffered and how I treat it. I have WebComponents enabled, so I had not noticed any total failures as here described, but sometimes, if I paste text to translate, no translation loads in the box at right. (This has happened with both Japanese and Russian text, whether left to detect on its own or set to the relevant tongue, and both into German and British English.) Refreshing the page, pasting the text to translate again if needed, cures this.

It appears, at least to me, that Pale Moon’s WebComponents implementation is mostly enough for DeepL, but could still be refined to stop this occasional error happening.
Browser: Pale Moon (Pusser’s repository for Debian)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 LTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Formerly user TheRealMaestro: æsc is the best letter.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: https://www.deepl.com/translator broken

Unread post by Moonchild » 2022-04-24, 08:54

__NM64__ wrote:
2022-04-23, 21:04
Forgive my software-dev ignorance but is this still the case if it is simply toggling the global enable/disable when you simply visit a given domain?
Yes it is. While an existing DOM tree in other tabs won't immediately be affected of course if it's static, you're in a grey area. JS may not like that APIs are suddenly made (un)available or that shadow DOM is suddenly no longer a thing. You can't compare it to an extension being able to detect JS in content, they are entirely different things.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
__NM64__
Lunatic
Lunatic
Posts: 359
Joined: 2013-10-17, 05:29
Location: Northeast Ohio

Re: https://www.deepl.com/translator broken

Unread post by __NM64__ » 2022-04-24, 20:33

Moonchild wrote:
2022-04-24, 08:54
you're in a grey area. JS may not like that APIs are suddenly made (un)available or that shadow DOM is suddenly no longer a thing
Would it hurt the browser, cause a crash, etc, or just result in maybe requiring the user to reload a given tab?

(as I've alluded to in the "GRE is a bust" thread, I really like fiddling with these sort of unconventional things)


EDIT:
TheRealMaestro wrote:
2022-04-23, 22:10
sometimes, if I paste text to translate, no translation loads in the box at right
This literally, not figuratively, just happened to me.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: https://www.deepl.com/translator broken

Unread post by Moonchild » 2022-04-24, 22:22

__NM64__ wrote:
2022-04-24, 20:33
Would it hurt the browser, cause a crash, etc, or just result in maybe requiring the user to reload a given tab?
All of the above are possible. Especially if the setting was flipped twice or more. There are many contributing factors and many potential outcomes.
Not to forget that webcomponents is not complete, experimental, and may still have bugs of its own.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
DžejPý
Moongazer
Moongazer
Posts: 8
Joined: 2019-05-07, 13:27

Re: https://www.deepl.com/translator broken

Unread post by DžejPý » 2022-05-24, 07:54

24. 5. DeepL works - without enabling Web Components.
Can you confirm?

User avatar
JoeyG
Astronaut
Astronaut
Posts: 653
Joined: 2017-06-12, 13:27
Location: How can you be in two places at once, when you're not anywhere at all?

Re: https://www.deepl.com/translator broken

Unread post by JoeyG » 2022-05-24, 13:15

I've tested Deepl.com on both Android 12 and my Win 7 machine. On the latter I can confirm that it appears to work fine in Pale Moon 31.0.0.
"And you can believe me because I never lie - and I'm always right."
(Asserted by George Leroy Tirebiter* and my wife; only the latter is telling the truth.)
*Firesign Theater version

Locked