online_video

可以拖动视频

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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.

(I already have a user style manager, let me install it!)

// ==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;
})();