// ==UserScript== // @name vip video // @description 解析爱奇艺、腾讯视频VIP // @namespace http://study365.free.nf // @version 28 // @include https://*.iqiyi.com/v_* // @include https://*.iqiyi.com/w_* // @include https://*.iqiyi.com/a_* // @include https://v.qq.com/x/cover/* // @include https://v.qq.com/x/page/* // @include https://v.qq.com/tv/* // @include https://m.v.qq.com/x/m/play* // @include https://m.v.qq.com/x/play* // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; let list = [ {"name": "虾米", "url": "https://jx.xmflv.com/?url=", "type":"PC"}, {"name": "M1907", "url": "https://im1907.top/?jx="}, {"name": "playerjy", "url": "https://jx.playerjy.com/?url="}, {"name": "ckplayer", "url": "https://www.ckplayer.vip/jiexi/?url=", "type":"PC"}, ]; setTimeout(function () { let href = location.href; let params = {}; let arr = location.search.substring(1).split('&'); for (let str of arr) { let pair = str.split("="); params[pair[0]] = pair[1]; } if (href.indexOf('/m.v.qq.com') > 0) { href = 'https://v.qq.com/x/cover/' + params.cid + '/' + params.vid + '.html'; } let mobile= !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/); let html = "