// ==UserScript==
// @name 最新爱奇艺/优酷/搜狐/腾讯/芒果/AB站等全网 VIP 视频在线解析,接口每日更新,一键免费看Vip影视
// @namespace taoyouhui
// @version 2.7.8
// @description 优酷 爱奇艺 腾讯 芒果 AB站
// @author taoyouhui
// @license MIT
// @include *://m.youku.com/v*
// @include *://m.youku.com/a*
// @include *://v.youku.com/v_*
// @include *://*.iqiyi.com/v_*
// @include *://*.iqiyi.com/w_*
// @include *://*.iqiyi.com/a_*
// @include *://*.iqiyi.com/adv*
// @include *://*.le.com/ptv/vplay/*
// @include *v.qq.com/x/cover/*
// @include *v.qq.com/x/page/*
// @include *v.qq.com/play*
// @include *v.qq.com/cover*
// @include *://*.tudou.com/listplay/*
// @include *://*.tudou.com/albumplay/*
// @include *://*.tudou.com/programs/view/*
// @include *://*.tudou.com/v*
// @include *://*.mgtv.com/b/*
// @include *://film.sohu.com/album/*
// @include *://tv.sohu.com/v/*
// @include *://*.acfun.cn/v/*
// @include *://*.bilibili.com/video/*
// @include *://*.bilibili.com/anime/*
// @include *://*.bilibili.com/bangumi/play/*
// @include *://*.pptv.com/show/*
// @include *://*.baofeng.com/play/*
// @require https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js
// @grant GM_setClipboard
// @run-at document-end
// @grant unsafeWindow
// @grant GM_xmlhttpRequest
// @grant GM_info
// @grant GM.getValue
// @grant GM.setValue
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_notification
// @downloadURL none
// ==/UserScript==
(function () {
'use strict';
var currentUrl = window.location.href;
var reYk = /youku/i;
var reAqy = /iqiyi/i;
var reLS = /le.com/i;
var reTX = /v.qq/i;
var reTD = /tudou/i;
var reMG = /mgtv/i;
var reSH = /sohu/i;
var reAF = /acfun/i;
var reBL = /bilibili/i;
var reYJ = /1905/i;
var rePP = /pptv/i;
var restr = /www.asvideo.top/i;
var t = $.now();
if (!restr.test(currentUrl) && reAqy.test(currentUrl) || reLS.test(currentUrl) || reTX.test(currentUrl) || reTD.test(currentUrl) || reMG.test(currentUrl) || reSH.test(currentUrl) || rePP.test(currentUrl) || reYk.test(currentUrl)) {
var menus=[{title:'\u89C6\u9891\u89E3\u6790',show:'\u89C6\u9891
\u89E3\u6790',type:'process'}];
InitMenu(menus,function(){
$('body').on('click', '[data-cat=process]', function () {
window.open('http://www.asvideo.top/index.php?new=' + encodeURIComponent(window.location.href));
});
});
}
function loader() {
$("body").append($(''));
}
function getPar(a) {
var b = location.search.match(new RegExp("[\?\&]" + a + "=([^\&]+)", "i"));
if (b == null || b.length < 1) {
return "";
}
return b[1];
}
function appendCss(url) {
$('head').append($(''));
}
var answer="-1";
function Msg(msg){layer.closeAll();layer.msg(msg, {icon: 5});}
function InitCurrentUrl(){currentUrl = window.location.href;}
function InitMenu(obj,init){
var menusclass=['first','third','third','fourth','fifth'];
var str="";
$.each(obj,function(i,o){
str+=''+o.show+'';
});
var sidenav = '