🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

极简解析爱奇艺、腾讯视频VIP视频

极简解析爱奇艺、腾讯视频VIP视频,解析源可靠。

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.

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

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

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         极简解析爱奇艺、腾讯视频VIP视频
// @description  极简解析爱奇艺、腾讯视频VIP视频,解析源可靠。
// @namespace    http://study365.free.nf
// @version      3
// @match      https://*.iqiyi.com/v_*
// @match      https://*.iqiyi.com/w_*
// @match      https://*.iqiyi.com/a_*
// @match      https://v.qq.com/x/cover/*
// @match      https://v.qq.com/x/page/*
// @match      https://v.qq.com/tv/*
// @match      https://m.v.qq.com/x/m/play*
// @match      https://m.v.qq.com/x/play*
// @grant      none
// ==/UserScript==

(function() {
    'use strict';
    let list = [
        {"name": "M1907", "url": "https://im1907.top/?jx=", "type":"all"},
        {"name": "2s0", "url": "https://jx.2s0.cn/player/?url=", "type":"all"},
        {"name": "虾米", "url": "https://jx.xmflv.com/?url=", "type":"pc"},
        {"name": "playerjy", "url": "https://jx.playerjy.com/?url=", "type":"pc"},
        {"name": "ckplayer", "url": "https://www.ckplayer.vip/jiexi/?url=", "type":"pc"},
        {"name": "夜幕", "url": "https://www.yemu.xyz/?url=", "type":"pc"},
        {"name": "七哥", "url": "https://jx.nnxv.cn/tv.php?url=", "type":"all"},
    ];
    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= /Mobile|Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent);
        let html = "<div style='z-index:999999999999;position:fixed;top:0;background:rgba(255,255,255,0.5)'>";
        for (let ele of list) {
            if(ele.type=="all"|| (mobile && ele.type=="mobile")||(!mobile && ele.type=="pc")){
                html += `<a href="` + ele.url + href + `" target="_blank" rel='noopener noreferrer' style="margin:5px;color:red;line-height:24px;font-size:16px">` + ele.name + `</a>`
            }
        }
        html += "</div>";
        let div = document.createElement("div");
        div.innerHTML = html;
        document.body.appendChild(div);
    },2000);
})();