Greasy Fork

Greasy Fork is available in English.

视频解析(PC端)

VIP支持:腾讯、爱奇艺、优酷、芒果TV、搜孤、哔哩哔哩(前3个接口有效)、聚力、乐视、1905电影网、网站会员视频解析,安装后在播放页左侧边上会出现一个小可爱,鼠标放上去会自动滑出功能界面,每个按钮代表不同解析接口,解析失败可选择其他按钮试试!!

当前为 2022-11-02 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         视频解析(PC端)
// @namespace    VIP播放终端
// @version      0.2
// @description  VIP支持:腾讯、爱奇艺、优酷、芒果TV、搜孤、哔哩哔哩(前3个接口有效)、聚力、乐视、1905电影网、网站会员视频解析,安装后在播放页左侧边上会出现一个小可爱,鼠标放上去会自动滑出功能界面,每个按钮代表不同解析接口,解析失败可选择其他按钮试试!!
// @author       杨振博
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACS0lEQVRYR8WXz2oTURTGv3MnpqhNKy1UWmxRTGdaiLSQRKkKIoK4FVrRPoHu7BMYn0B3+gQquuiuiC6kaFVsAhGEZkKqG/+Vrtp0YWsyR27KlEwz0xnnT3LgwjB37vl+97tzz9whdDiow/pwBCjofN0AJohwKQgkMxYF8Dmt0bxdnhaAQoWTXMczENJBhFvGMgqk4GY6SZXmPgvAmy/cnYijGqrwvmTVHSQup2jLvG0ByJf5EYDbUQIAeJxR6U4LQHGV1VodesTijfQxBdrkaSrL6z0Hlst8i4An7QBgYDar0lMrgM45ItxrCwDjflajnC+AtR8Gvn8zGpz9xwVOjor/Zma/ANt/GIsLNWxt8p7o4IiAmlLQP+C9pvkG+FoyUPxYs52xhFDPKIh3uRviG2ClWIdsTpHoJYymFNdliQzABBsaEZg4p+DwUftliRxAggwOC0xdidma1RaAI92Ea9OHOgcwPqlANruI1AElhsa2dBKXQJEBnDglGlvxWN/BNcE3gKyCS69b64AUlMISwEv4BpDJ3778i/Xfu5XQtFtaLq+9RiCA6gZj/dcuQN8Audod6kvodYZuz9k7UOK7JPDAbXAY/WxgLjtGDy2f408VPi8MLIUh4JbDELhwNknvLQDyQNoTh87AkFuCIP0E/NzcgWYeTC0bdrkNp6Lm9bc4YM4qr/NzEGaCzNJxLONFRqMbzf22JSu/wlcphhwzpsIAIcIHriGXGadX+/MdWDPflTjRxcH+kLYJhYtj5Piz4/0gF4YVNjk6DvAPDb0aMEr8/nEAAAAASUVORK5CYII=
// @match        *://*.youku.com/v_*
// @match        *://*.iqiyi.com/v_*
// @match        *://*.iqiyi.com/w_*
// @match        *://*.iqiyi.com/a_*
// @match        *://*.le.com/ptv/vplay/*
// @match        *://v.qq.com/x/cover/*
// @match        *://v.qq.com/x/page/*
// @match        *://v.qq.com/tv/*
// @match        *://*.mgtv.com/b/*
// @match        *://film.sohu.com/album/*
// @match        *://tv.sohu.com/v/*
// @match        *://*.bilibili.com/video/*
// @match        *://*.bilibili.com/bangumi/play/*
// @match        *://vip.pptv.com/show/*
// @match        *://v.pptv.com/show/*
// @match        *://www.le.com/ptv/vplay/*
// @match        *://*.1905.com/play/*

// @match        *://m.v.qq.com/x/cover/*
// @match        *://m.v.qq.com/x/page/*
// @match        *://m.v.qq.com/*
// @match        *://m.iqiyi.com/v_*
// @match        *://m.iqiyi.com/w_*
// @match        *://m.iqiyi.com/a_*
// @match        *://m.youku.com/alipay_video/*
// @match        *://m.youku.com/video/id_*
// @match        *://m.mgtv.com/b/*
// @match        *://m.tv.sohu.com/v/*
// @match        *://m.film.sohu.com/album/*
// @match        *://m.le.com/ptv/vplay/*
// @match        *://m.pptv.com/show/*
// @match        *://m.bilibili.com/video/*
// @match        *://m.bilibili.com/anime/*
// @match        *://m.bilibili.com/bangumi/play/*
// @license      MIT
// ==/UserScript==

/*
* 接口皆从网上搜集,非商业用途,侵删!!!
*/

(function () {
    'use strict';
    var div = document.createElement("div");
    if (window == top) {
        document.body.appendChild(div);
    };
    div.innerHTML = `
    <div class="box_1">
        <div class="box_2">
            <h2>每次观看后,刷新一下网页</h2>
            <p>&nbsp;快乐,从脚本猫开始!</p>
        </div>
        <div class="box_3"></div>
        <i class="up-new"></i>
    </div>
    <style>
    .box_1 {
            position: fixed;
            top: 130px;
            left: -170px;
            height: 430px;
            width: 160px;
            padding: 3px;
            z-index: 99999;
            transition: 1s;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            border: hidden;
            border-radius: 8px;
            background: linear-gradient(#17ebe0, #40c4e6, #30b9e2);
        }

        .box_2 {
            width: 95%;
            height: 80px;
            margin: 4px;
            color: #10a1be;
            background: linear-gradient(#a4e1f3, #8fdbee, #84dde4);
            outline: 2px solid #0ed4f7;
            font-size: 11px;
            cursor: no-drop;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .box_3 {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .box_3 input {
            display: none;
        }

        .box_3 label {
            width: 40px;
            height: 18px;
            margin: 5px;
            padding: 3px;
            border: hidden;
            box-sizing: border-box;
            border-radius: 6px;
            background: linear-gradient(#b2fefa, #6dd5fa, #0ed2f7);
            border-color: #0ed4f7;
            outline: 3px solid #0ed2f7;
            text-align: center;
            cursor: pointer;
            font-size: 8px;
            line-height: 10px;
            color: rgb(17, 56, 230);
        }

        input[name="drone"]:hover+label {
            background: #66ebe4;
        }

        input[name="drone"]:checked+label {
            color: #ff544c;
            background: #66ebe4;
        }

        .box_2 h2 {
            position: absolute;
            top: 20px;
            font-size: 10px;
            font-weight: bold;
        }

        .box_2 p {
            position: absolute;
            top: 55px;
            width: 12em;
            white-space: nowrap;
            overflow: hidden;
            text-shadow: 0 1px hsl(202, 85%, 61%),
                0 1px hsl(199, 80%, 56%),
                0 2px 4px rgba(34, 156, 226, 0.603);
            border-right: 2px solid transparent;
            animation: typing 6s;
            animation-iteration-count: infinite;
        }

        @keyframes typing {
            from {
                width: 0;
            }

            to {
                width: 12em;
            }
        }

        .up-new {
            position: absolute;
            top: 36px;
            width: 30px;
            height: 34px;
            right: -27px;
            z-index: 99999;
            cursor: pointer;
            background: url(https://www.dpaoz.com/usr/themes/spzac/img/upiocn.png) no-repeat;
        }
        </style>`
    var Interface = [
        { name: "1", id: "awesome1", url: "https://jx.bozrc.com:4433/player/?url=" },
        { name: "2", id: "awesome2", url: "https://svip.bljiex.cc/?v=" },
        { name: "3", id: "awesome3", url: "https://www.yemu.xyz/?url=" },
        { name: "4", id: "awesome4", url: "https://jx.xmflv.com/?url=" },
        { name: "5", id: "awesome5", url: "https://jx.playerjy.com/?url=" },
        { name: "6", id: "awesome6", url: "https://lecurl.cn/?url=" },
        { name: "7", id: "awesome7", url: "https://jx.4kdv.com/?url=" },
        { name: "8", id: "awesome8", url: "https://jsap.attakids.com/?url=" },
        { name: "9", id: "awesome9", url: "https://jx.ppflv.com/?url=" },
        { name: "✲", id: "awesome10", url: "https://go.yh0523.cn/y.cy?url=" },
        { name: "0", id: "awesome11", url: "https://jx.quanmingjiexi.com/?url=" },
        { name: "#", id: "awesome12", url: "https://chaxun.truechat365.com/?url=" },
        { name: "♫", id: "awesome13", url: "https://z1.m1907.top/?jx=" },
        { name: "✆", id: "awesome14", url: "https://jx.aidouer.net/?url=" },
        { name: "✉", id: "awesome15", url: "https://api.jiexi.la/?url=" },
        { name: "铭人", id: "awesome16", url: "https://parse.mw0.cc/?url=" },
        { name: "云逸", id: "awesome17", url: "https://jx.iztyy.com/Bei/?url=" },
        { name: "M3U8", id: "awesome18", url: "https://jx.m3u8.tv/jiexi/?url=" },
        { name: "七彩", id: "awesome19", url: "https://www.xymav.com/?url=" },
        { name: "17云", id: "awesome20", url: "https://www.1717yun.com/jx/ty.php?url=" },
        { name: "OK", id: "awesome21", url: "https://api.okjx.cc:3389/jx.php?url=" },
        { name: "OKJX", id: "awesome22", url: "https://okjx.cc/?url=" },
        { name: "无名", id: "awesome23", url: "https://www.administratorw.com/video.php?url=" },
        { name: "MAO", id: "awesome24", url: "https://www.mtosz.com/m3u8.php?url=" },
        { name: "PM", id: "awesome25", url: "https://www.playm3u8.cn/jiexi.php?url=" },
        { name: "H8", id: "awesome26", url: "https://www.h8jx.com/jiexi.php?url=" },
        { name: "盘古", id: "awesome27", url: "https://www.pangujiexi.cc/jiexi.php?url=" },
        { name: "CK", id: "awesome28", url: "https://www.ckplayer.vip/jiexi/?url=" },
        { name: "ckmo", id: "awesome29", url: "https://www.ckmov.vip/api.php?url=" },
        { name: "ccyj", id: "awesome30", url: "https://ckmov.ccyjjd.com/ckmov/?url=" },
        { name: "qian", id: "awesome31", url: "https://api.qianqi.net/vip/?url=" },
        { name: "laob", id: "awesome32", url: "https://vip.laobandq.com/jiexi.php?url=" },
        { name: "8090", id: "awesome33", url: "https://www.8090g.cn/?url=" },
        { name: "老板", id: "awesome34", url: "https://vip.laobandq.com/jiexi.php?url=" },
        { name: "诺讯", id: "awesome35", url: "https://www.nxflv.com/?url=" },
        { name: "听乐", id: "awesome36", url: "https://jx.dj6u.com/?url=" },
    ]
    var box1 = document.querySelector('.box_1');
    var box3 = document.querySelector('.box_3');
    for (var i in Interface) {
        let inputs = document.createElement('input');
        let label = document.createElement('label');
        box3.appendChild(inputs);
        box3.appendChild(label);
        inputs.type = 'radio';
        inputs.name = "drone";
        inputs.id = Interface[i].id;
        label.htmlFor = Interface[i].id;
        label.innerHTML = Interface[i].name;
    }
    box1.addEventListener('mouseenter', () => {
        box1.style.left = "2px";
    })
    box1.addEventListener('mouseleave', () => {
        box1.style.left = "-170px";
    })
    var player_ids = [
        { url: "v.qq.com", id: "#player" },
        { url: "www.iqiyi.com", id: "#flashbox" },
        { url: "v.youku.com", id: "#player" },
        { url: "w.mgtv.com", id: "#mgtv-player-wrap" },
        { url: "www.mgtv.com", id: "#mgtv-player-wrap" },
        { url: "tv.sohu.com", id: "#player" },
        { url: "film.sohu.com", id: "#playerWrap" },
        { url: "www.le.com", id: "#le_playbox" },
        { url: "v.pptv.com", id: "#pptv_playpage_box" },
        { url: "vip.pptv.com", id: ".w-video" },
        { url: "vip.1905.com", id: "#player" },
        { url: "www.bilibili.com", id: "#player_module" }
    ]
    for (let t in player_ids) {
        if (player_ids[t].url == location.host) {
            var ids = document.querySelector(player_ids[t].id);
        }
    }
    var iframe = `
            <iframe id='iframe-player' frameborder='0' allowfullscreen='true'></iframe>
            <style>
            #iframe-player{
                height: 100%;
                width: 100%;
                z-index: 99999;
            }
            </style>`
    var labels = document.querySelectorAll('.box_3 label');
    for (let h = 0; h < labels.length; h++) {
        labels[h].addEventListener('click', () => {
            ids.innerHTML = iframe;
            var iframe_player = document.querySelector('#iframe-player');
            iframe_player.src = Interface[h].url + location.href;
        })
    }
})();