// ==UserScript== // @name YouTube Unblocker // @namespace YTUB // @version 4.0 // @description Adds menu button to automatically forward any currently blocked YouTube video to eachvideo.com and unblocks the video. // @author drhouse // @include https://www.youtube.com/* // @include http://www.youtube.com/* // @grant GM_registerMenuCommand // @grant GM_getResourceText // @resource spfremove https://greasyfork.org/scripts/16935-disable-spf-youtube/code/Disable%20SPF%20Youtube.user.js // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js // @icon https://s.ytimg.com/yts/img/favicon-vfldLzJxy.ico // @locale en // @downloadURL none // ==/UserScript== $(document).ready(function () { eval(GM_getResourceText("spfremove")); GM_registerMenuCommand("YouTube Unblocker 2016", function(){ var theurl = window.location.href; theurl = theurl.replace("youtube.com", "eachvideo.com"); window.location.href = theurl; }); });