👍👍网页文字复制粘贴|文库下载|VIP视频解析|网易云音乐|QQ音乐免费下载|抖音音视频下载|CSDN免登录复制|👍👍

🔥🔥🔥👍👍👍【VIP视频免费观看-VIP视频解析】可免费观看腾讯、优酷、爱奇艺、B站等网站VIP视频;最新的VIP视频也会及时更新,几乎同步各大视频平台的最新视频;支持多线路观看且速度较快;并且在选集时,解决了集数不对应的问题。在使用CSDN过程中,一直提示要登录开通会员,而且不能复制粘贴等等,于是我又集成了一个CSDN免登录复制的功能,亲测有效,持续更新中。最近新增了网易云音乐和QQ音乐免费下载的功能,新增抖音音视频下载;网页复制粘贴和文档下载等功能,入口在 百度文库 和 道客巴巴。🔥🔥🔥👍👍👍

// ==UserScript==
// @name         👍👍网页文字复制粘贴|文库下载|VIP视频解析|网易云音乐|QQ音乐免费下载|抖音音视频下载|CSDN免登录复制|👍👍
// @namespace    https://scriptcat.org/zh-CN/users/155066
// @version      6.4.6
// @description  🔥🔥🔥👍👍👍【VIP视频免费观看-VIP视频解析】可免费观看腾讯、优酷、爱奇艺、B站等网站VIP视频;最新的VIP视频也会及时更新,几乎同步各大视频平台的最新视频;支持多线路观看且速度较快;并且在选集时,解决了集数不对应的问题。在使用CSDN过程中,一直提示要登录开通会员,而且不能复制粘贴等等,于是我又集成了一个CSDN免登录复制的功能,亲测有效,持续更新中。最近新增了网易云音乐和QQ音乐免费下载的功能,新增抖音音视频下载;网页复制粘贴和文档下载等功能,入口在 百度文库 和  道客巴巴。🔥🔥🔥👍👍👍
// @author       yimosun
// @match        https://*.iqiyi.com/v_*
// @match        https://v.qq.com/*
// @match        https://*.bilibili.com/*
// @match        https://v.youku.com/*
// @match        https://*.tudou.com/*
// @match        https://*.mgtv.com/*
// @match        https://film.sohu.com/*
// @match        *://blog.csdn.net/*/article/details/*
// @match        *://*.blog.csdn.net/article/details/*
// @match        https://v.yinyuetai.com/video/*
// @match        https://*.fun.tv/vplay/*
// @match        https://vip.1905.com/play/*
// @match        https://vip.pptv.com/show/*
// @match        https://music.163.com/*
// @match        https://v.yinyuetai.com/playlist/*
// @match        https://y.qq.com/*
// @match        https://*.acfun.cn/v/*
// @match        https://www.kuwo.com/*
// @match        https://www.zhihu.com/*
// @match        https://wenku.baidu.com/view/*
// @match        https://www.doc88.com/*
// @match        https://wenku.baidu.com/link*
// @match        https://www.51test.net/show/*
// @match        https://max.book118.com/*

// @license      GPL License
// @grant        GM_addStyle


// ==/UserScript==


(function() {
    'use strict';

    GM_addStyle('.menuWay1 {width:70px;height:36px; overflow:hidden;position:absolute; left:0; top:400px;z-index:99999;background-color:#FF34B3;border-radius:10px 10px 10px 15px;}'+
                '.menuWay1 #xiaolizio{width:70px;height:36px;color:#000; text-decoration:none; font:bold 22px/30px arial, sans-serif; text-align:center;margin-left:10px; }'+

                '.menuHolder ul li {border-radius:0 0 300px 0; width:0; height:0;}'+
                ' .menuHolder ul {padding:0; margin:0; list-style:none; position:absolute; left:1px; top:10px; width:0; height:0;}'+

                '.menuHolder ul li a {color:#000; text-decoration:none; font:bold 22px/30px arial, sans-serif; text-align:center;box-shadow:-5px 5px 5px rgba(0,0,0,0.4);-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;-o-transform-origin:0 0;transform-origin:0 0;}'+
                '.menuHolder ul.p1 li {position:absolute; left:0px; top:1px;}'+

                '.menuHolder li.s1 > a {position:absolute; display:block; width:70px; height:36px; background:	#FF0000; border-radius:10px 10px 10px 10px;}'+

                '.menuHolder li.s2 > a {position:absolute; display:block; width:200px; padding-left:100px; height:200px; background:#ddd; border-radius:0 0 200px 0;}'+

                '.menuHolder .a6 li:hover > a {background:#b00; color:#fff;}'+

                '.menuHolder .a5 li:hover > a {background:#b00; color:#fff;}'+

                '.menuHolder ul li:hover > a {background:#f00; color:#fff;}'+

                '.menuHolder li.s2:hover > a {background:#d00; color:#fff;}'+

                '.menuHolder .a3 li:hover > a {background:#b00; color:#fff;}'+

                '.menuHolder ul ul {-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;-o-transform-origin:0 0;transform-origin:0 0;-webkit-transform:rotate(90deg);-moz-transform:rotateZ(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:1s;-moz-transition:1s;-ms-transition:1s;-o-transition:1s;transition:1s;}'+


                '.menuHolder li.s2:nth-of-type(9) > a {background:#A020F0; -webkit-transform:rotate(80deg);-moz-transform:rotateZ(80deg);-ms-transform:rotate(80deg);-o-transform:rotate(80deg);transform:rotate(80deg);}'+

                '.menuHolder li.s2:nth-of-type(8) > a {background:#3366ff;-webkit-transform:rotate(70deg);-moz-transform:rotateZ(70deg);-ms-transform:rotate(70deg);-o-transform:rotate(70deg); transform:rotate(70deg);}'+
                '.menuHolder li.s2:nth-of-type(7) > a {background:yellow; -webkit-transform:rotate(60deg); -moz-transform:rotateZ(60deg);-ms-transform:rotate(60deg);-o-transform:rotate(60deg); transform:rotate(60deg); }'+
                '.menuHolder li.s2:nth-of-type(6) > a {background:#CD6839;'+
                '-webkit-transform:rotate(50deg);'+
                '-moz-transform:rotateZ(50deg);'+

                ' -ms-transform:rotate(50deg);'+
                ' -o-transform:rotate(50deg);'+

                '  transform:rotate(50deg);'+
                ' }'+
                '.menuHolder li.s2:nth-of-type(5) > a {background:orchid;'+
                ' -webkit-transform:rotate(40deg);'+
                ' -moz-transform:rotateZ(40deg);'+
                '  -ms-transform:rotate(40deg);'+

                '  -o-transform:rotate(40deg);'+
                '  transform:rotate(40deg);'+
                ' }'+
                '.menuHolder li.s2:nth-of-type(4) > a {background:springgreen;'+
                '-webkit-transform:rotate(30deg);'+
                '-moz-transform:rotateZ(30deg);'+
                '-ms-transform:rotate(30deg);'+

                '-o-transform:rotate(30deg);'+
                'transform:rotate(30deg);'+
                '}'+
                '.menuHolder li.s2:nth-of-type(3) > a {background:#00ffff;'+
                '-webkit-transform:rotate(20deg);'+
                '-moz-transform:rotateZ(20deg);'+

                '-ms-transform:rotate(20deg);'+

                '-o-transform:rotate(20deg);'+
                'transform:rotate(20deg);'+
                '}'+
                '.menuHolder li.s2:nth-of-type(2) > a {background:#FF4040;'+
                '-webkit-transform:rotate(10deg);'+
                '-moz-transform:rotateZ(10deg);'+

                '-ms-transform:rotate(10deg);'+

                '-o-transform:rotate(10deg);'+
                'transform:rotate(10deg);'+
                '}'+
                '.menuHolder li.s2:nth-of-type(1) > a {background:palegoldenrod;'+
                '-webkit-transform:rotate(0deg);'+
                '-moz-transform:rotateZ(0deg);'+
                '-ms-transform:rotate(0deg);'+

                '-o-transform:rotate(0deg);'+
                'transform:rotate(0deg);'+
                '}'+

                '.menuHolder li.s1:hover ul.p2 {'+
                '-webkit-transform:rotate(0deg);'+
                '-moz-transform:rotateZ(0deg);'+
                '-ms-transform:rotate(0deg);'+

                '-o-transform:rotate(0deg);'+
                'transform:rotate(0deg);'+
                '}'+


                '.menuWindow {width:110px; height:200px; overflow:hidden; position:absolute; left:0; top:480px;z-index:99999;'+
                '-webkit-transition:0s 1s;'+
                '-moz-transition:0s 1s;'+
                '-ms-transition:0s 1s;'+

                '-o-transition:0s 1s;'+
                'transition:0s 1s;'+
                '}'+
                '.menuHolder:hover .menuWindow {width:310px; height:310px;'+
                '-webkit-transition:0s 0s;'+
                '-moz-transition:0s 0s;'+
                '-ms-transition:0s 0s;'+

                '-o-transition:0s 0s;'+
                'transition:0s 0s;'+
                '}'+
                '.menuHolder span {display:block;'+
                '-webkit-transform:rotate(5deg);'+
                '-moz-transform:rotateZ(5deg);'+
                '-ms-transform:rotate(5deg);'+
                '-o-transform:rotate(5deg);'+
                'transform:rotate(5deg);'+
                '}'+
                
                '#myNewDiv {width:120px;height:34px; overflow:hidden;position:absolute; left:0; top:500px;z-index:99999;background-color:#FF34B3;border-radius:10px 10px 10px 10px;}'+
                '#myNewDiv #downloadMusic{width:70px;height:32px;color:#000; text-decoration:none; font:bold 24px/30px arial, sans-serif; text-align:center;margin-left:10px; }'
                
                +'#mynewcouponDiv {margin-left:50px;width:76px; font-weight: 700;height: 46px;line-height: 46px;padding: 0 26px;position:absolute; top:2800px;z-index:99999;background-color:white;font-size: 18px;font-family: "microsoft yahei";}'+

                '#downloadDocDiv {width:222px;height:34px; overflow:hidden;position:absolute; left:0; top:500px;z-index:99999;background-color:orangered;border-radius:10px 10px 10px 10px;}'+
                '#downloadDocDiv #downloadDoc{width:70px;height:32px;color:#000; text-decoration:none; font:bold 24px/30px arial, sans-serif; text-align:center;margin-left:10px; }'+
                
  			    '#coupon_box.coupon-box1 {'+
  			      'width: 525px;'+
  			      'height: 125px;'+
  			      
  			      'background-color: #fff;'+
  			      'border: 1px solid #e8e8e8;'+
  			      
  			      'border-top: none;'+
  			      'position: relative;'+
  			      'margin: 0px;'+
  			      'padding: 0px;'+
  			      'float: left;'+
  			      'display: block;'+
  			    '}'
            
                );
                
    // =========================================================================================
    // ======================================= 2025-02-18 V2版 =================================
    // =========================================================================================

    // myNewDiv  downloadMusicDiv  downloadMusic


    //console.log("=========HAHAHAHHA==========: ");

    var videoUrl= window.location.href;
    var version = "20250218002aabb";
    
    var myUrlList = [ {
        url: "https://yparse.ik9.cc/index.php?url=",
        id: "yparse"
    },{
        url: "https://www.ckplayer.vip/jiexi/?url=",
        id: "ckplayer"
    }, {
        url: "https://jx.m3u8.tv/jiexi/?url=",
        id: "m3u8"
    },
     
     {
         url: "https://jx.xmflv.com/?url=",
         id: "xmflv"
     },
     {
         url: "https://www.yemu.xyz/?url=",
         id: "yemu"
     },
     {
         url:"https://www.xiaolizio.xyz/myvideo.html?version="+version+"&url=",
         id: "xiaolizio"
     }, {
         url: "https://www.pouyun.com/?url=",
         id: "pouyun"
     }
     , {
         url: "https://jx.nnxv.cn/tv.php?url=",
         id: "nnxv"
     }, {
         url: "https://tv.woaimoon.net/label/v.html?url=",
         id: "woaimoon"
     }, {
         url: "https://www.8090g.cn/?url=",
         id: "8090g"
     } ];
    // id="xiaolizio" href="https://www.xiaolizio.xyz/myvideo.html?url='


    //myUrlList.forEach((function(e) {
    ////console.log(e.url ,e.title);
    //}))


    // document.addEventListener('click', function(event) {
    //     //console.log("=========页面被点击了!==========: ");
    //     videoUrl= window.location.href;
    //     //console.log("=========videoUrl==========: ",videoUrl);

    //     myUrlList.forEach((function(e) {
    //         // 获取<a>元素
    //         var link = document.getElementById(e.id);
    //         var newHref = e.url + videoUrl;
    //         // 设置新的href值
    //         link.setAttribute('href', newHref);
    //     }))
    // });


    var flag = false;
    
    var utils = {
        hideButton: function ($) {
            $("body").append("<style id=\"copy-hide\">#_copy{display: none !important;}</style>");
        },

        enableOnKeyDownByCapture: function () {
            
            document.addEventListener("keydown", stopNativePropagation, true);
        },
    };


    function myFun(arr) {
        if (arr.length <= 1) {
            return arr;
        }

        const pivotIndex = Math.floor(arr.length / 2);
        
        const pivot = arr.splice(pivotIndex, 1)[0];
        const left = [];
        const right = [];

        for (let i = 0; i < arr.length; i++) {
            if (arr[i] < pivot) {
                
                left.push(arr[i]);
            } else {
                right.push(arr[i]);
            }
        }

        return quickSort(left).concat([pivot], quickSort(right));
    }

    // 使用示例
    //const unsortedArray = [3, 6, 8, 10, 1, 2, 1, 4, 7, 9];
    //const sortedArray = quickSort(unsortedArray);
    //console.log(sortedArray); // 输出: [1, 1, 2, 3, 4, 6, 7, 8, 9, 10]


    // var locationUrl = location.href;
    // alert(locationUrl);
    //     tempIdList.forEach((function(elem) {
    //         if(location.href.indexOf(elem)!=-1){
    //             //console.log("====elem====:",elem);
    //             flag = false;
    //         }
    //     }));
    //     //if(tempIdList.some(elem => location.href.includes(elem))){
    
    // =========================================================================================
    // ====================== OCR全网文字复制粘贴|百度文库,道客巴巴等  ==============================
    // =========================================================================================
    

    if(location.href.indexOf('wenku') != -1 ||
        location.href.indexOf('book118') != -1 ||
    
        location.href.indexOf('doc88') != -1 ){
            
        flag = false;

        // myNewDiv  downloadMusicDiv  downloadMusic
        var bbmusicdiv=document.createElement("div");  
            bbmusicdiv.innerHTML=
                '<div id="downloadDocDiv">'+
                '<a id="downloadDoc" href="https://www.xiaolizio.xyz/wayOCR.html?version='+version+'"  target="_blank" title="点击跳转到新页签">OCR全网文字提取复制</a>'+
                
                '</div>';

        document.body.appendChild(bbmusicdiv);
    }

    
    // =========================================================================================
    // ============================= 网易云音乐|QQ音乐免费下载  =================================
    // =========================================================================================

    if(location.href.indexOf('music.163') != -1 ||
    
        location.href.indexOf('y.qq') != -1 ){
            
        flag = false;

        // myNewDiv  downloadMusicDiv  downloadMusic
        var bbmusicdiv=document.createElement("div");  
            bbmusicdiv.innerHTML='<div id="myNewDiv">'+
                '<div id="downloadMusicDiv">'+
                '<a id="downloadMusic" href="https://www.xiaolizio.xyz/downloadMusic.html?version='+version+'"  target="_blank" title="点击跳转到新页签">下载音乐</a>'+
                
                '</div>';

        document.body.appendChild(bbmusicdiv);
    }

    var tempIdList = [];
    myUrlList.forEach((function(e) {
        tempIdList.push(e.id);
    }));
    //console.log("====tempIdList====",tempIdList);
    //console.log("====window.location.hostname====",window.location.hostname);
    // var locationUrl = location.href;
    // if(locationUrl.length > 15){
    //     locationUrl=locationUrl.substring(0, 15);
    // }
    //alert(locationUrl);
    // tempIdList.forEach((function(elem) {
    //     if(location.hostname.indexOf(elem)!=-1){
    //         //console.log("====elem====:",elem);
    //         flag = false;
    //     }
    // }));
    for (var tempId of tempIdList) {
        if(window.location.hostname.indexOf(tempId)!=-1){
            flag = false;
        }
    }
    //     //if(tempIdList.some(elem => location.href.includes(elem))){


     if(videoUrl.indexOf("vip.1905.com") > 0 ||
     
       videoUrl.indexOf("v.youku.com") > 0 ||
       videoUrl.indexOf("bilibili.com") > 0 ||

       videoUrl.indexOf("v.qq.com") > 0 ||
       videoUrl.indexOf("mgtv.com") > 0 ||

       videoUrl.indexOf("sohu.com") > 0 ||
       videoUrl.indexOf("v.yinyuetai.com") > 0 ||

       videoUrl.indexOf("tudou.com") > 0 ||

       videoUrl.indexOf("acfun.cn") > 0 ||
       videoUrl.indexOf("vip.pptv.com") > 0 ||
       videoUrl.indexOf("fun.tv") > 0 ||
       videoUrl.indexOf("iqiyi.com") > 0 ){

        flag = true;
    }
    
    
    // =========================================================================================
    // ======================================= CSDN 免登录复制 =================================
    // =========================================================================================

    if(location.hostname.indexOf("csdn.net") > 0){
        
        flag = false;
        // Your code here...
        //console.log("====================HELLO CSDN!!!=======================");

        // 代码可以拖动复制
        var style = 'code { user-select: text !important}';

        //查看文章全文
        style +=".article_content{height:auto !important;max-height:unset !important;}";
        //代码自动展开
        style +=".set-code-hide{height: auto !important;max-height: unset !important;overflow-y: hidden !important;}";

        //右下角登录隐藏
        style +=".passport-login-tip-container {display:none !important;}";

        // 在整个文档前插入修改后的XML样式表.
        document.insertBefore(
            document.createProcessingInstruction('xml-stylesheet','type="text/css" href="data:text/css;utf-8,' + encodeURIComponent(style) + '"'),
            document.documentElement
        );

        window.onload=()=>{
            
            $("#content_views").unbind("copy")
            //遍历每个代码块
            document.querySelectorAll(".hljs-button.signin").forEach((elem) => {
                // 设置标题
                elem.setAttribute("data-title", "一键复制");
                // 设置颜色
                elem.setAttribute("style", "background-color:red;");
                //elem.setBackGroudColor("red");
                elem.onclick = function (elem) {
                    elem.stopPropagation();
                    navigator.clipboard
                        .writeText(this.parentNode.innerText)
                        .then(() => {this.setAttribute("data-title", "复制成功") })
                };
            });
        }
    }
    



    // =========================================================================================
    // ================================== CSDN 免登录复制-废弃 =================================
    // =========================================================================================

    // if(location.hostname.indexOf("csdn.net") > 0){
    //     flag = false;
    //     // Your code here...
    //     //console.log("====================HELLO CSDN!!!=======================");

    //     // 代码可以拖动复制
    //     var style = 'code { user-select: text !important}';

    //     //查看文章全文
    //     style +=".article_content{height:auto !important;max-height:unset !important;}";
        
    //     //代码自动展开
    //     style +=".set-code-hide{height: auto !important;max-height: unset !important;overflow-y: hidden !important;}";

    //     //右下角登录隐藏
    //     style +=".passport-login-tip-container {display:none !important;}";

    //     // 在整个文档前插入修改后的XML样式表.
    //     document.insertBefore(
    //         document.createProcessingInstruction('xml-stylesheet','type="text/css" href="data:text/css;utf-8,' + encodeURIComponent(style) + '"'),
            
    //         document.documentElement
    //     );

    //     window.onload=()=>{
    //         $("#content_views").unbind("copy")
    //         //遍历每个代码块
    //         document.querySelectorAll(".hljs-button.signin").forEach((elem) => {
    //             // 设置标题
    //             elem.setAttribute("data-title", "一键复制");
    //             // 设置颜色
    //             elem.setAttribute("style", "background-color:red;");
    //             //elem.setBackGroudColor("red");
    //             elem.onclick = function (elem) {
    //                 elem.stopPropagation();
    //                 navigator.clipboard
    //                     .writeText(this.parentNode.innerText)
    //                     .then(() => {this.setAttribute("data-title", "复制成功") })
    //             };
    //         });
    //     }
    // }





    var allVideoUrls = [
        {title:"ckplayer",type:"1",url:"https://www.ckplayer.vip/jiexi/?url="},
        {title:"M3U8解析",type:"1",url:"https://jx.m3u8.tv/jiexi/?url="},

         {title:"夜幕",type:"1",url:"https://www.yemu.xyz/?url="},
         
        {title:"8090解析",type:"1",url:"https://www.8090g.cn/jiexi/?url="},
        {title:"云解析",type:"1",url:"https://yparse.ik9.cc/index.php?url="},
        
        {title:'JY解析',type:"1",url:'https://jx.we-vip.com/?url=',},
        {title:"YT",type:"1",url:"https://jx.yangtu.top/?url="},

        
        {title:"⑸号解析",type:"1",url:"https://www.8090g.cn/jiexi/?url="},
        {title:"M1907解析",type:"1",url:"https://im1907.top/?jx="},

        {title:"咸鱼解析",type:"1",url:"https://jx.xyflv.cc/?url="},
        {title:"极速解析",type:"1",url:"https://jx.2s0.cn/player/?url="},

        {title:"qianqi",type:"1",url:"https://api.qianqi.net/vip/?url="},
        {title:"M1907",type:"0",url:"https://z1.im1907.top/?jx="},
        {title:"yparse",type:"0",url:"https://jx.yparse.com/index.php?url="},
        {title:"云解析",type:"1",url:"https://yparse.ik9.cc/index.php?url="},
        {title:"Player-JY",type:"1",url:"https://jx.playerjy.com/?url="},
        {title:"虾米",type:"1",url:"https://jx.xmflv.com/?url="},


        {type:"1",url:"https://www.8090.la/8090/?url=",title:"全能vip②"},
        {title:"BL",type:"1",url:"https://svip.bljiex.com/?v="},
        {title:"play",type:"1",url:"https://www.playm3u8.cn/jiexi.php?url="},
        
                {type:"1",url:"https://jx.m3u8.tv/jiexi/?url=",title:"⑤号接口"},
        {title:"8090解析",type:"1",url:"https://www.8090g.cn/jiexi/?url="},
        {title:"yparse",type:"1",url:"https://jx.yparse.com/index.php?url="},

        {title:"综合/B站",type:"1",url:"https://jx.jsonplayer.com/player/?url="},
                {type:"1",url:"https://www.mtosz.com/m3u8.php?url=",title:"Mao解析"},
        {type:"1",url:"https://movie.heheda.top/?v=",title:"风影阁"},
        {title:"M1907",type:"1",url:"https://z1.im1907.top/?&jx="},

        {title:"猪蹄",type:"1",url:"https://jx.iztyy.com/Bei/?url="},

        {title:"BL智能解析",type:"1",url:"https://svip.bljiex.cc/?v="},
    ];



    function preload_all(){
        if(theplayurl.indexOf('iqiyi') > 0) preload_iqiyi();
    }
    
    function getCoupon(document,newCoupondiv,dataa){
        // var newButton = document.getElementById('button');
        // if(newButton){
        //     // 设置按钮的文本内容
        //     newButton.textContent = '领券购买'; 
        //     newButton.width="76px";
        //     newButton.height="46px";
        //     newButton.backgroundColor="red";
        // }else{
        //    // alert(666);
        // }

        //alert(111);
        // var buyBtn=document.getElementById("InitTradeUrl");
        // //buyBtn.parentNode.insertBefore(newCoupondiv, buyBtn.nextSibling);
        // if(buyBtn){
        //   // alert(222);
        //   buyBtn.insertAdjacentElement('afterend', newCoupondiv);
        // }else{
        //   // alert(333);
        // }
        
        var mycouponaa=document.getElementById("mycouponaa");
        if(mycouponaa){
            
            let randomNum = Math.floor(Math.random() * 10);
            //alert(randomNum);
            //alert(randomNum%2 == 0); 
            if(randomNum%2 == 0 || location.href.indexOf('crumb-wrap') > 0){
               // mycouponaa.href='https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa);
                mycouponaa.click();
            }

            //#crumb-wrap
            //if(location.href.indexOf('crumb-wrap') > 0){
            //    mycouponaa.href='https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa);
            //    mycouponaa.click();
            //}

           	//let randomNum = Math.floor(Math.random() * 10);
            //alert(randomNum);
            //alert(randomNum%2 == 0); 
            //if(randomNum%3 == 0){
                //mycouponaa.href='https://www.xiaolizio.xyz/details.html?url='+encodeURIComponent(dataa);
                //mycouponaa.click();
            //}
        }
    }

    function prego_all(){
        if(theplayurl.indexOf('iqiyi') > 0){
            prego_iqiyi();
        }else{
            theplayurl = window.location.href;
        }
    }

    if(flag){

        var div=document.createElement("div");
        div.innerHTML='<div class="menuHolder">'+
            '<div class="menuWay1"><a id="xiaolizio" href="https://www.xiaolizio.xyz/myvideo.html?version='+version+'&url='+encodeURIComponent(window.location.href)+'"  target="_blank" title="点击跳转到新页签">方式1</a></div>'+
            '<div class="menuWindow">'+

            '<ul class="p1">'+
            '<li class="s1"><a href="#">方式2</a>'+
            '<ul class="p2">'+


            '<li class="s2"><a id="ckplayer" href="https://www.ckplayer.vip/jiexi/?url='+videoUrl+'"  target="_blank"><span>CK</span></a></li>'+

            '<li class="s2"><a id="8090g" href="https://www.8090g.cn/?url='+videoUrl+'"  target="_blank"><span>8090</span></a></li>'+

            '<li class="s2"><a id="xmflv" href="https://jx.xmflv.com/?url='+videoUrl+'" target="_blank"><span>虾米</span></a></li>'+

            '<li class="s2"><a id="woaimoon" href="https://tv.woaimoon.net/label/v.html?url='+videoUrl+'"  target="_blank"><span>月亮网</span></a></li>'+

            '<li class="s2"><a id="yemu" href="https://www.yemu.xyz/?url='+videoUrl+'" target="_blank"><span>夜幕</span></a></li>'+

            '<li class="s2"><a id="pouyun" href="https://www.pouyun.com/?url='+videoUrl+'"  target="_blank"><span>剖云</span></a></li>'+

            '<li class="s2"><a id="yparse" href="https://yparse.ik9.cc/index.php?url='+videoUrl+'"  target="_blank"><span>云解析</span></a></li>'+

            '<li class="s2"><a id="m3u8" href="https://jx.m3u8.tv/jiexi/?url='+videoUrl+'" target="_blank"><span>M3U8</span></a></li>'+

            '<li class="s2"><a id="nnxv" href="https://jx.nnxv.cn/tv.php?url='+videoUrl+'" target="_blank"><span>七哥</span></a></li>'+

            '</ul>'+

            '</li>'+

            '</ul>'+

            '</div>'+
            '</div>';

        document.body.appendChild(div);

        // 添加点击事件
        //document.getElementById("way1").onclick = function() {
        //   //console.log("===方式1 按钮被点击了!===");

        // 参数对象
        //    var params = {
        //        'url': window.location.href
        //       //'type': 'ckplayer'
        //    };

        //   // 将参数转换为查询字符串
        //    var queryString = Object.keys(params)
        //    .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(params[key]))
        //    .join('&');

        // 打开新窗口或标签,并附加查询字符串
        //    window.open('https://www.xiaolizio.xyz/myvideo.html?' + queryString, '_blank');
        //};

        document.addEventListener('click', function(event) {
            //console.log("=========页面被点击了!==========: ");

            videoUrl= window.location.href;
            //console.log("=========videoUrl==========: ",videoUrl);

            myUrlList.forEach((function(e) {
                // 获取<a>元素
                var link = document.getElementById(e.id);

                var newHref = e.url + videoUrl;

                // 设置新的href值
                link.setAttribute('href', newHref);
            }))
        });
    }
})();