online_video

可以拖动视频

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         online_video
// @namespace    online_video
// @version      0.1
// @description  可以拖动视频
// @author       nelson guo
// @match        http://61.157.140.45/*
// @grant        none
// ==/UserScript==


function getQueryString(name) { 
   var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); 
   var r = window.location.search.substr(1).match(reg); 
   if (r != null) return unescape(r[2]); return null; 
} 

(function(){
var btn = "<a id='goTest' href='###' style='display:inline-block;width:160px;height:45px;background:#f0f2f3;color:red;line-height:45px;font-size:17px;text-align:center;padding-right:10px;'>不看视频立即测试</a>";
document.getElementById("___1").innerHTML = btn
function showMyTest(){
    var myId = getQueryString("id");
    SetCookie("test",myId);
    open_test();
}

document.getElementById("goTest").onclick = showMyTest;
})();