Hi all,

I use ublock origin in medium blocking mode which blocks a lot of urls by default, google / youtube included. For the longest time I have to unblock, google.com, googlestatic.com, youtube.com (and usually some more) every time I want to watch an embedded video.

I don’t use the youtube website in general, I use freetube for all my youtube watching. Libredirect even opens direct youtube links in freetube but it can’t handle embedded videos (at least not in a way without unblocking the urls before).

The best solution would be a userscript or extension that replaces all embedded youtube videos with links I can click to open them in freetube. I was surprised I couldn’t find something like this. Does anybody know about a solution?

*EDIT: I found a a way to make embedded youtube videos clickable: https://xcancel.com/gorhill/status/1377613397710229506#m

This is straight from the ublock origin developers. Sadly even in this case you have to globally unblock youtube.com and google.com which is a no go for me.

Cheers

  • mnmalstOP
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Yeah I get that as well when I don’t use ublocks medium mode. The crucial part here is the medium mode since that blocks youtbe.com and google.com domains by default.

    Thanks for the info tho.

    • dingdongitsabear@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 day ago

      I’m not sure I understand what the issue is here… I also have uBlock Origin and no traffic is hitting either of those domains, just checked it with inspect/network tab. the redirect thingy autotranslates youtube to invidious and clicking youtube links opens freetube. no traffic is going to google or youtube. which part is your issue?

      edit: aha, got it - uBlock swallows those domains so the extensions don’t run.

      • mnmalstOP
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Yes, in “medium blocking mode” ublock origin blocks those domains.