// ==UserScript==
// @name 1024去60秒
// @namespace http://tampermonkey.net/
// @version 1.2.0
// @description 去除1024的60秒屏蔽
// @author 明月天QQ791290123
// @match *://*/*
// @grant none
// @downloadURL none
// ==/UserScript==
var table = document.querySelectorAll('.sptable_do_not_remove');
if (document.querySelectorAll('.sptable_do_not_remove span').length > 0) {
var str = document.querySelectorAll('.sptable_do_not_remove span') [0].className;
for (var j = 0; j < table.length; j++) {
var td = table[j].querySelectorAll('td');
for (var i = 0; i < td.length; i++) {
td[i].innerHTML = '';
}
}
} else {
for (var k = 0; k < table.length; k++) {
table[k].style.display = 'none';
}
}
(function() {
"use strict";
var thisSite = window.location.href;
if (/view_/i.test(thisSite) && !(/vlog/i.test(thisSite)) && !(/yyxf\.xyz/i.test(thisSite))) {
var newTd = '
' +
' | ';
var btn1 = '① |
';
var btn2 = '② |
';
var msg = '' +
'部分播放源需要翻墙
登录即是至尊会员
';
$("#container_video>table td:first").after(newTd);
$("#newTable").append(btn1, btn2);
$("#containersearch").append(msg);
if (/Android/i.test(navigator.appVersion)) {
$("#newTable td").css("font-size", "200px");
}
$("#btn1").click(function() {
window.open("https://www.vlogdownloader.com/#" + thisSite, "_self");
});
$("#btn2").click(function() {
window.open("https://91.yyxf.xyz/vip.php?link=" + thisSite, "_self");
});
}
else if (/vlog/i.test(thisSite) && (/view/i.test(thisSite))) {
$("#vlog").submit();
}
else if (/html/i.test(thisSite)) {
$("#exampleModal").attr("data-backdrop", "static");
$(".btn.btn-primary:eq(10)").click();
$(window).on("click", "video", function() {
if (this.paused) {
this.play();
} else {
this.pause();
}
});
$(window).keydown(function(e) {
var video = $("video")[0];
if (e.keyCode == 32) {
if (video.paused) {
video.play();
} else {
video.pause();
}
}
});
}
else if (/vlog/i.test(thisSite) && (/403/i.test(thisSite))) {
history.back();
}
if (!(/vlog/i.test(thisSite)) && !(/yyxf\.xyz/i.test(thisSite))) {
document.cookie = "watch_times=0";
document.cookie = "level=7";
document.cookie = "user_level=7";
}
})();