// ==UserScript== // @name Fake-Youtube Helper // @namespace https://greasyfork.org/users/159546 // @version 1.1 // @description Fix so much problem. Caution: This script is not for really Youtube. // @author LEORChn // @match http*://198.13.56.205:8700/* // @run-at document-start // @grant none // @downloadURL none // ==/UserScript== var vip; (function(){ recheck(); })(); function recheck(){ doEvents(); var a=ft('a'); for(var i=0,len=a.length;iFailed'; } function init_play_server(){ for(var a=ft('a'),i=0,len=a.length,fstr=0;i0){ vip=a[i].href.substring(0,fstr); return; } } } function gfun(url){return url.split('?')[0].split('/')[3];} function gvid(){return location.href.split('v=')[1].split('&')[0];} function fv(id){return document.getElementById(id);} function ft(tag){return document.getElementsByTagName(tag);} function tip(s){console.log(s);} function doEvents(){console.log('doEvents');}