Advertisement
Guest User

YouTube Polymer Disable

a guest
Jul 25th, 2018
1,840
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name YouTube Polymer Disable
  3. // @namespace YouTube Polymer Disable
  4. // @match *://www.youtube.com/*
  5. // @match *://www.youtube.de/*
  6. // @exclude *://www.youtube.com/embed/*
  7. // @grant none
  8. // @run-at document-start
  9. // ==/UserScript==
  10. var url = window.location.href;
  11. if (url.indexOf("disable_polymer") === -1) {
  12.   if (url.indexOf("?") > 0) {
  13.     url += "&";
  14.   } else {
  15.     url += "?";
  16.   }
  17.   url += "disable_polymer=1";
  18.   window.location.href = url;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement