I'm aware of what Invidious is.
Most of the time, and the very ***FEW*** times that I have to YouTube, I JUST USE THE YOUTUBE SITE but with a **TON** of userstyles and userscripts.
I all but re-write the entire d@mn web site "to my liking".
I do use the below. Just tap the Escape key when a YouTube video is playing and it redirects to an Invidious instance.
More often than not though, the video just plays ***BETTER*** just sticking with REAL YOUTUBE (plus userstyles and userscripts).
// ==UserScript==
// @name - YouTube 00 - Invidious Redirect
// @version 1.2.1
// @include http://www.youtube.com/*
// @include https://www.youtube.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
document.addEventListener('keydown', function(event) {
if (event.key === 'Escape') {
var a = 0;
setInterval(function () {
if (a === 0 && window.location.href.indexOf('watch?') > -1 && window.location.href.indexOf('list=WL') < 0) {
a = '//inv.nadeko.net/watch?' + window.parent.location.href.split('?')[1] + '&quality=dash&quality_dash=best';
window.location.replace(a);
}
}, 10);
}
});
|