jelmervdl / translatelocally-web-ext

TranslateLocally for the Browser is a web-extension that enables client side in-page translations for web browsers.
https://addons.mozilla.org/en-GB/firefox/addon/translatelocally-for-firefox/
Mozilla Public License 2.0
66 stars 3 forks source link

Broken site: yandex.ru/sport sidebar, ads #2

Closed jelmervdl closed 2 years ago

jelmervdl commented 2 years ago

Webpage: https://yandex.ru/sport

Some elements are not translated because they are hidden by (closed!) shadow dom.

image

jelmervdl commented 2 years ago

In Chrome there is chrome.dom.openOrClosedShadowRoot. MDN mentions Element.openOrClosedShadowRoot but it doesn't seem to be defined when called from the plugin's content-script nor the web inspector.

jelmervdl commented 2 years ago

I don't think this is fixable at the moment. Hopefully this issue will show up when people search for shadow root and custom elements, and why they're troublesome.