Greasy Fork is available in English.

Youtube to Invidious

Scan page for Youtube embeds and urls and replace with Invidious.

< Обсуждения Youtube to Invidious

Отзыв: Плохой — скрипт не работает

It doesn't work in Pale Moon v28.5.2

I am using Greasemonkey for Pale Moon 3.31.4 in that version of Pale Moon.

Thanks, I see what the problem is. I'll look into making it compatible with the script.

You're welcome.

Just pushed an update that should fix it. Let me know if it works. Also let me know if you find more webpages where it doesn't work.

Can you please make it compatible with that site?

good call, fixed.

It works for me, can you inspect the embed (right click -> inspect element) and tell me what the 'src' attribute of that iframe is?

§
Создано: 20.07.2019
Отредактировано: 20.07.2019

It happens randomly on https://www.resetera.com/threads/pokemon-sword-and-shield-potential-leaks-beware-spoilers.121008/. Also, youtube embeds in Twitter are playing automatically with no video being shown (instead, its just the thumbnail that is shown before clicking on it).

EDIT: The null page issue is also occurring on any youtube embed that is on https://twitter.com/yugiohmemories (along with the automatic playing of them even though I didn't click on them).

Okay I see what's wrong, I have an idea to fix all of these things at once. Gimme some time to code it.

OdinBroodАвтор
§
Создано: 21.07.2019
Отредактировано: 21.07.2019

Done, works on every site you mentioned now for me. Thanks for these reports, I'm learning a lot here!

Its broken again in Pale Moon 28.9.0.2. I am getting the following errors in the Browser Console when visiting https://www.resetera.com/threads/toonami-marapr20-oh-im-in-hell.172839/page-232.

XrayWrapper denied access to property Symbol.iterator (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xrayvision for more information. Note that only the first denied property access from a given global object will be reported. YoutubetoInvidious.user.js:84:31 url.searchParams.keys(...) is not iterable Youtubeto_Invidious.user.js:84:32

Ответить

Войдите, чтобы ответить.