https://dict.leo.org/ 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
uwethomas
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2020-11-01, 09:02

https://dict.leo.org/

Unread post by uwethomas » 2022-09-20, 11:00

Hello there :)

since a couple of weeks, I do not get any content within the above mentioned page. Addressing the issue to them, it looks like Pale Moon not supporting "Shadow DOM" might be the cause of the problem.

Would be wonderful if you could check that and potentially fix it ^^

Greets and best wishes

Uwe

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2020-11-03, 06:47
Location: Philippines
Contact:

Re: https://dict.leo.org/

Unread post by jobbautista9 » 2022-09-20, 11:36

Please search the forum first before posting. This recent thread (leo.org shows blank page TypeError: e.attachShadow is not a function) has some possible workarounds for you to try.

As for progress in Shadow DOM and WebComponents support, you can track it at Issue #1375 (UXP) and Issue #1361 (UXP). Patches would be appreciated! :)
Image

merry mimas

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817

Image

User avatar
uwethomas
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2020-11-01, 09:02

Re: https://dict.leo.org/

Unread post by uwethomas » 2022-09-20, 11:46

Thank you jobbautista9 for your prompt and kind reply ^^

I did search the forum before, and I found https://repo.palemoon.org/MoonchildProd ... ssues/1375 and that it is already older, but that left me still helpless :)

All I know is that leo.org is using "Shadow DOM" since a couple of weeks, and that since then I cannot use it any more with Pale Moon.

Greets


Uwe

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://dict.leo.org/

Unread post by JoeyG » 2022-09-22, 22:06

@ Uwe - Please have a look at viewtopic.php?p=231827#p231825

Maybe it will help you.

I guess the question is whether you want to "fix" Pale Moon or simply use Leo. If it's the latter, the solution mentioned in that posting works fine. If it's the former viel Spaß.
"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
uwethomas
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2020-11-01, 09:02

Re: https://dict.leo.org/

Unread post by uwethomas » 2022-09-23, 23:27

JoeyG wrote:
2022-09-22, 22:06
@ Uwe - Please have a look at viewtopic.php?p=231827#p231825

Maybe it will help you.

I guess the question is whether you want to "fix" Pale Moon or simply use Leo. If it's the latter, the solution mentioned in that posting works fine. If it's the former viel Spaß.
Thank you JoeyG ^^

unfortunately it did not really help me further :)

Have a great weekend

Uwe

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

Re: https://dict.leo.org/

Unread post by tellu-white » 2022-09-24, 16:13

uwethomas wrote:
2022-09-23, 23:27
unfortunately it did not really help me further
You can try the following workaround. It's not perfect, but you will be able to use the Dictionary.

Download the Toggle Web Components On-Off add-on, posted here:

viewtopic.php?f=70&t=28163&sid=a0dc9d83 ... 20#p226752

Install the add-on, then perform the following steps:

I. Add the URL https://dict.leo.org/ to the URL list of the Toggle Web Components On-Off add-on and then make a Bookmark that will execute a Javascript code.

Steps 1-5 will be executed only once:

01 Right-click on the add-on button, then click on Add page that requires Web Components
01.png
02 Enter Name and URL, like this:
02.png
03 Make a Bookmark (in Bookmarks Toolbar), like this:

Name:

LEO Dictionary

Location:

javascript:(function(){content.document.getElementsByClassName("va-m ui-helper-hidden")[0].click(); content.document.getElementById("textSearchField").innerHTML=""; content.document.getElementById("textSearchField").focus();})();

Code: Select all

javascript:(function(){content.document.getElementsByClassName("va-m ui-helper-hidden")[0].click(); content.document.getElementById("textSearchField").innerHTML=""; content.document.getElementById("textSearchField").focus();})();
*************************

II. Use the Dictionary

04 Open the page https://dict.leo.org/ then click on the Bookmark created in the previous step:
03.png
RESULT: The Search individual word pop-up that partially covers the page will disappear and the Search in a text option will appear instead:
04.png
05 Enter the desired word (e.g. workaround) in the textbox, then click on THAT word:
05.png
RESULT: After clicking on the workaround word in the textbox:
06.png
**********

To search for another word, delete the contents of the textbox and repeat step 5.

Locked