Automatically add invidio.us link below youtube embeds for tor users

gentry

kiwifarms.net
Joined
Jun 21, 2021
Youtube embeds often end up displaying Google's "fuck off, proxy user" page for tor users, could we add invidio.us links below them? invidio.us itself no longer mirrors Youtube videos but at the moment acts as a front-end for other invidious instances, and opening invidio.us/{video-id} provides you with links directly to the video.

If js is preferred this works with what I assume is the forum's generic method of adding Youtube embeds:
JavaScript:
$( ".bbMediaWrapper" )
    .has( ".bbMediaWrapper-inner iframe[src^='https://www.youtube.com/embed/']" )
    .each(function(i,e) {
        var video_id = /.*\/(.*)\?/.exec($(e).find("iframe").attr("src"))[1];
        $(e).append($("<a href='https://invidio.us/" + video_id + "' target='_blank' />invidio.us</a>"));
    });
It just adds an invidio.us link using the text "invidio.us", doesn't look too out of place.

Edit: If this isn't implemented and other people have the same problem, you can add this as a bookmarklet:
Code:
javascript:void%20function(){$(%22.bbMediaWrapper%22).has(%22.bbMediaWrapper-inner%20iframe[src^='https://www.youtube.com/embed/']%22).each(function(e,a){var%20i=/.*\/(.*)\%3F/.exec($(a).find(%22iframe%22).attr(%22src%22))[1];$(a).append($(%22%3Ca%20href='https://invidio.us/%22+i+%22'%20target='_blank'%20/%3Einvidio.us%3C/a%3E%22))})}();
 
Last edited:
...Or just archive the video on-site. It's preferable to do that, anyway, for posterity's sake.
Even then it would be good to have an easy way to check whether the video is worth archiving. It might be a retarded video.
 
...Or just archive the video on-site. It's preferable to do that, anyway, for posterity's sake.
Don't you know how lazy people are here? Back in the day they couldn't even put a fucking link into archive.something and you're asking them to save a video.
 
Even then it would be good to have an easy way to check whether the video is worth archiving. It might be a retarded video.
Archival is a manual process, it's up to the poster to decide if it's "worth archiving". I am of the mind that all information should be preserved.
Don't you know how lazy people are here? Back in the day they couldn't even put a fucking link into archive.something and you're asking them to save a video.
And to think I'd found my club of fellow turbo-autists obsessed with hoarding data and e-stalking nutcases. :(
 
  • Feels
Reactions: JuanButNotForgotten
I don't know about others, but for me invidio.us runs like shit. Pain in the ass to find a working instance, fails to load like half of the videos. I've honestly had better experiences with vanilla YT in Tor Browser.

Youtube embeds often end up displaying Google's "fuck off, proxy user" page for tor users
Keep smashing that fucking CTRL+SHIFT+L button.
 
Back