🏠 Home 

YouTube Polymer Disable

YOUTUBE OLD

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/328437/556471/YouTube%20Polymer%20Disable.js

// ==UserScript==
// @name YouTube Polymer Disable
// @match *://www.youtube.com/*
// @exclude *://www.youtube.com/embed/*
// @grant none
// @run-at document-start
// ==/UserScript==
var url = window.location.href;
if (url.indexOf("disable_polymer") === -1) {
if (url.indexOf("?") > 0) {
url += "&";
} else {
url += "?";
}
url += "disable_polymer=1";
window.location.href = url;
}