Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
< Відгуки до YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
i command this script for remove redirect short, maybe add option to disable or enable maybe will good
/*var oldHref = document.location.href;
if (window.location.href.match(/shorts\/.+/)) {
window.location.replace(window.location.toString().replace('/shorts/', '/watch?v='));
}
window.onload = function() {
var bodyList = document.querySelector('body')
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function() {
if (oldHref != document.location.href) {
oldHref = document.location.href;
console.log('location changed!');
if (window.location.href.match(/shorts\/.+/)) {
window.location.replace(window.location.toString().replace('/shorts/', '/watch?v='));
}
}
});
});
var config = {
childList: true,
subtree: true
};
observer.observe(bodyList, config);
};*/
the script work great, please add option to remove redirect short becouse i can't watch short continuously
thanks you
Yo @Admin-kun I added the option check it out
Ok I fixed it now @Admin-kun
thanks you so much, you really great @adamlui
you're welcome @Admin-kun
Ok @Admin-kun I will do it tomorrow beacue I have to rest from covid
sure, I hope you recover quickly
the script work great, please add option to remove redirect short becouse i can't watch short continuously
thanks you