कच्चा स्रोत
max / 全网VIP视频免费破解去广告【最新】

// ==UserScript==
// @name              全网VIP视频免费破解去广告【最新】
// @namespace         http://tampermonkey.net/
// @version           2.5.9
// @description       全网VIP视频免费破解去广告,适配PC+移动,全网VIP视频解析:爱奇艺、腾讯、优酷、bilibili等视频免费解析!🔥真4K高清🔥【脚本长期维护更新,完全免费,无广告,仅限学习交流!!】
// @icon              https://cdn.jsdmirror.com/gh/88lin/picx-images-hosting@master/favicon.67xwxgc03y.svg
// @author            茉灵智库:https://easys.cc.cd/article/46
// @include           *://v.qq.com/x/page/*
// @include           *://v.qq.com/x/cover/*
// @include           *://v.qq.com/tv/*
// @include           *://*.iqiyi.com/v_*
// @include           *://*.iqiyi.com/a_*
// @include           *://*.iqiyi.com/w_*
// @include           *://*.iq.com/play/*
// @include           *://*.youku.com/v_*
// @include           *://*.youku.com/video*
// @include           *://*.youku.com/*?vid=*
// @include           *://*.mgtv.com/b/*
// @include           *://*.tudou.com/v_*
// @include           *://tv.sohu.com/v/*
// @include           *://*.bilibili.com/video/*
// @include           *://*.bilibili.com/bangumi/play/*
// @include           *://v.pptv.com/show/*
// @include           *://vip.pptv.com/show/*
// @include           *://www.wasu.cn/Play/show/*
// @include           *://*.le.com/ptv/vplay/*
// @include           *://*.acfun.cn/v/*
// @include           *://*.acfun.cn/bangumi/*
// @include           *://*.1905.com/play/*
// @include           *://m.v.qq.com/x/m/*
// @include           *://m.v.qq.com/*
// @include           *://m.iqiyi.com/*
// @include           *://m.iqiyi.com/v_*
// @include           *://m.youku.com/video/*
// @include           *://m.youku.com/alipay_*
// @include           *://m.mgtv.com/b/*
// @include           *://m.tv.sohu.com/v/*
// @include           *://m.tv.sohu.com/album/*
// @include           *://m.pptv.com/show/*
// @include           *://m.bilibili.com/anime/*
// @include           *://m.bilibili.com/video/*
// @include           *://m.bilibili.com/bangumi/play/*
// @require           https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/jquery/3.7.1/jquery.min.js
// @connect           api.bilibili.com
// @grant             unsafeWindow
// @grant             GM_addStyle
// @grant             GM_openInTab
// @grant             GM_getValue
// @grant             GM_setValue
// @grant             GM_xmlhttpRequest
// @charset	          UTF-8
// @license           GPL License
// ==/UserScript==
(function() {
    'use strict';

    var css = `
        .my-popup-overlay {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.58);
            z-index: 999999;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 16px;
            box-sizing: border-box;
            animation: myPopupFadeIn 0.22s ease-out;
        }

        .my-popup-box {
            width: 100%;
            max-width: 520px;
            background: #fff;
            border-radius: 28px;
            padding: 20px 22px 20px;
            box-sizing: border-box;
            position: relative;
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
            border: 1px solid rgba(0, 0, 0, 0.06);
            animation: myPopupSlideUp 0.26s ease-out;
        }

        @keyframes myPopupFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes myPopupSlideUp {
            from {
                opacity: 0;
                transform: translateY(18px) scale(0.98);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .my-popup-close {
            position: absolute;
            top: 18px;
            right: 14px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: none;
            background: #f5f5f7;
            color: #666;
            font-size: 20px;
            line-height: 18px;
            text-align: center;
            cursor: pointer;
            transition: all 0.18s ease;
        }

        .my-popup-close:hover {
            background: #ededf0;
            color: #111;
        }

        .my-popup-title {
            font-size: 22px;
            line-height: 1.35;
            font-weight: 700;
            color: #F44336;
            text-align: center;
            margin: 4px 36px 18px;
            letter-spacing: -0.02em;
        }

        .my-popup-divider {
            width: 100%;
            height: 1px;
            margin: 0 0 18px;
            background: repeating-linear-gradient(
                to right,
                #d9d9de 0,
                #d9d9de 8px,
                transparent 8px,
                transparent 14px
            );
            opacity: 0.9;
        }

        .my-popup-content {
            font-size: 15px;
            line-height: 1.9;
            color: #3f3f46;
            font-weight: 500;
            text-align: left;
            margin-bottom: 16px;
            word-break: break-word;
        }

        .my-popup-tip {
            margin-top: 2px;
            margin-bottom: 18px;
            padding: 12px 14px;
            border-radius: 14px;
            background: #f7f7f8;
            border: 1px solid #ececef;
            color: #222;
            font-size: 14px;
            line-height: 1.7;
            font-weight: 600;
            text-align: center;
        }

        .my-popup-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .my-popup-btn {
            appearance: none;
            -webkit-appearance: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 46px;
            padding: 0 18px;
            border-radius: 14px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0;
            transition: all 0.18s ease;
            box-sizing: border-box;
            border: 1px solid transparent;
            user-select: none;
        }

        .my-popup-btn-primary {
            background: #111827;
            color: #fff;
            border-color: #111827;
        }

        .my-popup-btn-primary:hover {
            background: #1f2937;
            border-color: #1f2937;
            transform: translateY(-1px);
        }

        .my-popup-btn-secondary {
            background: #fff;
            color: #111827;
            border-color: #d4d4d8;
        }

        .my-popup-btn-secondary:hover {
            background: #f8f8f8;
            border-color: #bfc0c4;
            transform: translateY(-1px);
        }

        .my-popup-btn:active {
            transform: translateY(0);
        }

        @media (min-width: 560px) {
            .my-popup-buttons {
                flex-direction: row;
            }

            .my-popup-btn {
                flex: 1;
            }
        }

        @media (max-width: 480px) {
            .my-popup-box {
                border-radius: 20px;
                padding: 22px 16px 16px;
            }

            .my-popup-title {
                font-size: 19px;
                margin-left: 22px;
                margin-right: 22px;
            }

            .my-popup-content {
                font-size: 14px;
                line-height: 1.85;
            }

            .my-popup-tip {
                font-size: 13px;
            }
        }
    `;

    GM_addStyle(css);

    var overlay = document.createElement('div');
    overlay.className = 'my-popup-overlay';

    var box = document.createElement('div');
    box.className = 'my-popup-box';

    var closeBtn = document.createElement('button');
    closeBtn.className = 'my-popup-close';
    closeBtn.innerHTML = '×';
    closeBtn.onclick = function() {
        overlay.style.display = 'none';
    };

    var title = document.createElement('div');
    title.className = 'my-popup-title';
    title.innerText = '因恶意举报,Greasy Fork停止维护';

    var divider = document.createElement('div');
    divider.className = 'my-popup-divider';

    var content = document.createElement('div');
    content.className = 'my-popup-content';
    content.innerText = '本人开发此脚本纯属个人兴趣,零收益、零盈利,从未通过任何方式牟利。如今却因别有用心之人滥用举报机制,脚本在 Greasy Fork 停止更新与维护。后续版本将移至 GitHub 更新维护。';

    var tip = document.createElement('div');
    tip.className = 'my-popup-tip';
    tip.innerText = '删除此脚本,重新安装以下新脚本即可';

    var buttonsWrapper = document.createElement('div');
    buttonsWrapper.className = 'my-popup-buttons';

    var btn1 = document.createElement('a');
    btn1.className = 'my-popup-btn my-popup-btn-primary';
    btn1.innerText = '点击获取最新脚本';
    btn1.href = 'https://blog.88lin.eu.org/article/46#58686faaa8644858aa8e533bb32b8bec';
    btn1.target = '_blank';
    btn1.rel = 'noopener noreferrer';

    var btn2 = document.createElement('a');
    btn2.className = 'my-popup-btn my-popup-btn-secondary';
    btn2.innerText = 'GitHub 开源地址';
    btn2.href = 'https://github.com/88lin/video_vip';
    btn2.target = '_blank';
    btn2.rel = 'noopener noreferrer';

    buttonsWrapper.appendChild(btn1);
    buttonsWrapper.appendChild(btn2);

    box.appendChild(closeBtn);
    box.appendChild(title);
    box.appendChild(divider);
    box.appendChild(content);
    box.appendChild(tip);
    box.appendChild(buttonsWrapper);
    overlay.appendChild(box);

    document.body.appendChild(overlay);
})();