Greasy Fork is available in English.

全网VIP视频破解去广告免费看+全网音乐下载

本脚本精选解析线路为大家提供优酷、爱奇艺、腾讯、乐视、芒果等各大视频网站视频解析服务,让你省去购买视频VIP费用,同时提供网易云音乐、QQ音乐、酷狗、酷我、虾米、蜻蜓FM、荔枝FM、喜马拉雅等网站音乐和有声书免客户端下载和查券功能。

Versión del día 2/4/2021. Echa un vistazo a la versión más reciente.

// ==UserScript==
// @name         全网VIP视频破解去广告免费看+全网音乐下载
// @namespace    http://www.zhmdy.top
// @version      3.2.3
// @description  本脚本精选解析线路为大家提供优酷、爱奇艺、腾讯、乐视、芒果等各大视频网站视频解析服务,让你省去购买视频VIP费用,同时提供网易云音乐、QQ音乐、酷狗、酷我、虾米、蜻蜓FM、荔枝FM、喜马拉雅等网站音乐和有声书免客户端下载和查券功能。
// @author       zuihuimai
// @include      *.youku.com/v*
// @include      *m.youku.com/*
// @include      *.iqiyi.com/v_*
// @include      *.iqiyi.com/w_*
// @include      *.iqiyi.com/a_*
// @include      *.le.com/ptv/vplay/*
// @include      *v.qq.com/x/*
// @include      *v.qq.com/p*
// @include      *v.qq.com/cover*
// @include      *v.qq.com/tv/*
// @include      *.tudou.com/listplay/*
// @include      *.tudou.com/albumplay/*
// @include      *.tudou.com/programs/view/*
// @include      *.tudou.com/v*
// @include      *.mgtv.com/b/*
// @include      *tv.sohu.com/*
// @include      *film.sohu.com/album/*
// @include      *.bilibili.com/video/*
// @include      *.bilibili.com/anime/*
// @include      *.bilibili.com/bangumi/play/*
// @include      *.pptv.com/show/*
// @include      *.wasu.cn/Play/show*
// @include      *v.yinyuetai.com/video/*
// @include      *v.yinyuetai.com/playlist/*
// @include      *://item.taobao.com/*
// @include      *://*detail.tmall.com/*
// @include      *://*detail.tmall.hk/*
// @include      *://*.liangxinyao.com/*
// @include      *music.163.com/*
// @include      *://y.qq.com/portal*
// @include      *://i.y.qq.com/*
// @include      *://*.kugou.com/*
// @include      *://*kuwo.cn/*
// @include      *://*.xiami.com/*
// @include      *://music.taihe.com/song*
// @include      *://*.1ting.com/player*
// @include      *://music.migu.cn/v*
// @include      *://*.lizhi.fm/*
// @include      *://*.qingting.fm/*
// @include      *://*.ximalaya.com/*
// @exclude      *://*.zhmdy.top/*
// @exclude      *://*.eggvod.cn/*
// @license      GPL License
// @require      https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js
// @require      https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js
// @grant        GM_openInTab
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_xmlhttpRequest
// @grant        GM_addStyle
// @grant        unsafeWindow
// @grant        GM_getResourceURL
// @grant        GM_getResourceText
// ==/UserScript==
(function() {
    var couponUrl = window.location.href;
    if(couponUrl.indexOf('taobao') != -1 || couponUrl.indexOf('tmall') != -1){

    $.get('https://www.zuihuimai.net/vrhr/loading.php',function(loading_html){
    if(loading_html){
    var head = document.getElementsByTagName('head')[0],
	cssURL = 'https://www.zuihuimai.net/tm/style.css',
	linkTag = document.createElement('link');
	linkTag.id = 'dynamic-style';
	linkTag.href = cssURL;
	linkTag.setAttribute('rel','stylesheet');
	linkTag.setAttribute('media','all');
	linkTag.setAttribute('type','text/css');
	head.appendChild(linkTag);
	var goods_id = getQueryString('id');
	var zhm_url = 'https://www.zuihuimai.net/vrhr/index.php';
	if(goods_id){

		$('#J_LinkBasket').parent().after(loading_html);
		$('.J_LinkAdd').parent().after(loading_html);
		if(window.location.host.search('taobao.com') != -1){
			$('#zhm_table').addClass('zhm_tab_taobao');
		}else{
			$('#zhm_table').addClass('zhm_tab_tmall');
		}

		$.get(zhm_url,{goods_id:goods_id},function(data){
			$('#zhm_div_s').html(data);
			$('#zhm_div_s').html(data);
			if(window.location.host.search('taobao.com') != -1){
				$('#zhm_table').addClass('zhm_tab_taobao');
			}else{
				$('#zhm_table').addClass('zhm_tab_tmall');
			}
		});
	}
    }
    });
    }

    var id_random = Math.ceil(Math.random()*100000000);
	var play_url = window.location.href;
	var arr = new Array();
	arr = play_url.split('?')
	var get_url = arr[0];

	if(get_url.indexOf('eggvod.cn') == -1){
		var jx_title=new Array()
		jx_title[0]="youku.com"
		jx_title[1]="iqiyi.com"
		jx_title[2]="le.com"
		jx_title[3]="v.qq.com"
		jx_title[4]="tudou.com"
		jx_title[5]="mgtv.com"
		jx_title[6]="sohu.com"
		jx_title[7]="acfun.cn"
		jx_title[8]="bilibili.com"
		jx_title[9]="pptv.com"
		jx_title[10]="baofeng.com"
		jx_title[11]="yinyuetai.com"
		jx_title[12]="wasu.cn"
		var title_result = false;
		for(var n=0;n<jx_title.length;n++){
			if(get_url.indexOf(jx_title[n])!= -1){
                var play_line_json =  [
                    {"name":"纯净1","url":"https://z1.m1907.cn/?jx="},
                    {"name":"纯净2","url":"https://jx.618g.com/?url="},
                    {"name":"B站1","url":"https://vip.parwix.com:4433/player/?url="},
                    {"name":"B站2","url":"https://www.cuan.la/m3u8.php?url="},
                    {"name":"BL","url":"https://vip.bljiex.com/?v="},
                    {"name":"CK","url":"https://www.ckplayer.vip/jiexi/?url="},
                    {"name":"CHok","url":"https://www.gai4.com/?url="},
                    {"name":"大侠","url":"https://api.10dy.net/?url="},
                    {"name":"ELW","url":"https://jx.elwtc.com/vip/?url="},
                    {"name":"爱跟","url":"https://vip.2ktvb.com/player/?url="},
                    {"name":"冰豆","url":"https://api.qianqi.net/vip/?url="},
                    {"name":"百域","url":"https://jx.618g.com/?url="},
                    {"name":"ckmov","url":"https://www.ckmov.vip/api.php?url="},
                    {"name":"大幕","url":"https://jx.52damu.com/dmjx/jiexi.php?url="},
                    {"name":"迪奥","url":"https://123.1dior.cn/?url="},
                    {"name":"福星","url":"https://jx.popo520.cn/jiexi/?url="},
                    {"name":"跟剧","url":"https://www.5igen.com/dmplayer/player/?url="},
                    {"name":"RDHK","url":"https://jx.rdhk.net/?v="},
                    {"name":"H8","url":"https://www.h8jx.com/jiexi.php?url="},
                    {"name":"豪华","url":"https://api.lhh.la/vip/?url="},
                    {"name":"黑云","url":"https://jiexi.380k.com/?url="},
                    {"name":"蝴蝶","url":"https://api.hdworking.top/?url="},
                    {"name":"IK","url":"https://vip.ikjiexi.top/?url="},
                    {"name":"解析la","url":"https://api.jiexi.la/?url="},
                    {"name":"久播","url":"https://jx.jiubojx.com/vip.php?url="},
                    {"name":"九八","url":"https://jx.youyitv.com/?url="},
                    {"name":"老板","url":"https://vip.laobandq.com/jiexi.php?url="},
                    {"name":"乐喵","url":"https://jx.hao-zsj.cn/vip/?url="},
                    {"name":"M3U8","url":"https://jx.m3u8.tv/jiexi/?url="},
                    {"name":"MUTV","url":"https://jiexi.janan.net/jiexi/?url="},
                    {"name":"明日","url":"https://jx.yingxiangbao.cn/vip.php?url="},
                    {"name":"磨菇","url":"https://jx.wzslw.cn/?url="},
                    {"name":"诺诺","url":"https://www.ckmov.com/?url="},
                    {"name":"诺讯","url":"https://www.nxflv.com/?url="},
                    {"name":"OK","url":"https://okjx.cc/?url="},
                    {"name":"PM","url":"https://www.playm3u8.cn/jiexi.php?url="},
                    {"name":"思云","url":"https://jx.ap2p.cn/?url="},
                    {"name":"思古","url":"https://api.sigujx.com/?url="},
                    {"name":"思古2","url":"https://api.bbbbbb.me/jx/?url="},
                    {"name":"思古3","url":"https://jsap.attakids.com/?url="},
                    {"name":"tv920","url":"https://api.tv920.com/vip/?url="},
                    {"name":"维多","url":"https://jx.ivito.cn/?url="},
                    {"name":"我爱","url":"https://vip.52jiexi.top/?url="},
                    {"name":"无名","url":"https://www.administratorw.com/video.php?url="},
                    {"name":"小蒋","url":"https://www.kpezp.cn/jlexi.php?url="},
                    {"name":"小狼","url":"https://jx.yaohuaxuan.com/?url="},
                    {"name":"智能","url":"https://vip.kurumit3.top/?v="},
                    {"name":"星驰","url":"https://vip.cjys.top/?url="},
                    {"name":"星空","url":"http://60jx.com/?url="},
                    {"name":"云端","url":"https://jx.ergan.top/?url="},
                    {"name":"云析","url":"https://jx.yparse.com/index.php?url="},
                    {"name":"17云","url":"https://www.1717yun.com/jx/ty.php?url="},
                    {"name":"33t","url":"https://www.33tn.cn/?url="},
                    {"name":"41","url":"https://jx.f41.cc/?url="},
                    {"name":"66","url":"https://api.3jx.top/vip/?url="},
                    {"name":"116","url":"https://jx.116kan.com/?url="},
                    {"name":"200","url":"https://vip.66parse.club/?url="},
                    {"name":"4080","url":"https://jx.urlkj.com/4080/?url="},
                    {"name":"973","url":"https://jx.973973.xyz/?url="},
                    {"name":"8090","url":"https://www.8090g.cn/?url="}
                ];
                var zhmVipTop = GM_getValue('zhmTop');

				if(zhmVipTop == undefined){
					zhmVipTop = '200px';
				}

				var zhmVipLeft = GM_getValue('zhmLeft');

				if(zhmVipLeft == undefined){
					zhmVipLeft = '40px';
				}
				var play_wrap_html = "<div class='move' style='position:fixed;z-index:99999999999;left:"+zhmVipLeft+";top:"+zhmVipTop+";border:1px solid red'>";
                play_wrap_html += "<div href='javascript:void(0)' target='_blank' style='margin-top:-10px;margin-left:-40px;cursor:pointer;display:block;width:50px;height:75px;position:absolute;left:0;top:0px;text-align:center;overflow:visible;background-image: url(https://www.eggvod.cn/images/vip.png);background-repeat: no-repeat;' title='点击主图标弹出解析,点击右侧列表站内解析' class='playButton' id="+id_random+">";
				play_wrap_html += "<div style='position:absolute;left:50px;top:-4px;overflow: hidden;width:300px;display:none'class='playLineDiv'>"
				play_wrap_html += "<div style='width:320px;height:316px;overflow-y:scroll;overflow-x:hidden'>";
                play_wrap_html += "<table class='playLineTabel' style='width:300px;border-spacing:5px;border-collapse:separate'><tr>";
                for(var playLineIndex=0 ;playLineIndex < play_line_json.length;playLineIndex++){

                    if((/(^[1-9]\d*$)/.test(playLineIndex/3))){

                        play_wrap_html +="<tr>";

                        play_wrap_html += "<td class='playLineTd' id='"+play_line_json[playLineIndex].url+"' style='padding:6px 0px;width:33%;color:#fff;text-align:center;background-color:#f24443;box-shadow:0px 0px 10px #fff;'>"+play_line_json[playLineIndex]['name']+"</td>";

                        continue;

                    }

                    play_wrap_html += "<td class='playLineTd' id='"+play_line_json[playLineIndex].url+"' style='padding:6px 0px;width:33%;color:#fff;text-align:center;background-color:#f24443;box-shadow:0px 0px 10px #fff;'>"+play_line_json[playLineIndex]['name']+"</td>";

                    if((/(^[1-9]\d*$)/.test((playLineIndex+1)/3))){

                        play_wrap_html +="</tr>";

                    }

                }

                play_wrap_html += "</tr></table>";

                play_wrap_html +="</div></div></div></div>";

                setTimeout(function(){

                    $("body").append(play_wrap_html);

                    $(".playButton").on("mouseover", () => {
                        $(".playLineDiv").show();
                    });
                    $(".playButton").on("mouseout", () => {
                        $(".playLineDiv").hide();
                    })
                    $(".playLineTd").hover(function(){
                        $(this).css("color","#260033");
                        $(this).css("background-color","#fcc0c0");
                    },function(){
                        $(this).css("color","#fff");
                        $(this).css("background-color","#f24443");
                    });

                    var host = location.host;
                    var node = "";
                    var player_nodes = [
                        { url:"v.qq.com", node:"#mod_player"},
                        { url:"www.iqiyi.com", node:"#flashbox"},
                        { url:"v.youku.com", node:"#player"},
                        { url:"w.mgtv.com", node:"#mgtv-player-wrap"},
                        { url:"www.mgtv.com", node:"#mgtv-player-wrap"},
                        { url:"tv.sohu.com", node:"#player"},
                        { url:"film.sohu.com", node:"#playerWrap"},
                        { url:"www.le.com", node:"#le_playbox"},
                        { url:"video.tudou.com", node:".td-playbox"},
                        { url:"v.pptv.com", node:"#pptv_playpage_box"},
                        { url:"vip.pptv.com", node:".w-video"},
                        { url:"www.wasu.cn", node:"#flashContent"},
                        { url:"www.acfun.cn", node:"#ACPlayer"},
                        { url:"vip.1905.com", node:"#player"},
                        {url:"play.tudou.com",node:"#player"},
                        {url:"www.bilibili.com/video",node:"#bilibiliPlayer"},
                        {url:"www.bilibili.com/bangumi",node:"#player_module"},

                    ];
                    for(var m in player_nodes) {

                        if(get_url.indexOf(player_nodes[m].url)!= -1){

                            node = player_nodes[m].node;

                        }
                    }
                    var remove = function(selector) {
                        if (!document.querySelectorAll) {
                            return;
                        }
                        var nodes = document.querySelectorAll(selector);
                        if (nodes) {
                            for (var i = 0; i < nodes.length; i++) {
                                if (nodes[i] && nodes[i].parentNode) {
                                    nodes[i].parentNode.removeChild(nodes[i]);
                                }
                            }
                        }
                    };
                    function removeObj(targetSelector, rootSelector = 'body', wait) {
                        const rootElement = document.querySelector(rootSelector);
                        const targetElement = rootElement.querySelector(targetSelector);
                        if (targetElement) {
                            return Promise.resolve(targetElement)
                        }
                        return new Promise((resolve, reject) => {
                            const callback = function(matationList, observer) {
                                const targetElement = rootElement.querySelector(targetSelector);
                                if (targetElement) {
                                    resolve(targetElement);
                                    observer.disconnect()
                                }
                            };
                            const observer = new MutationObserver(callback);
                            observer.observe(rootElement, {
                                subtree: true,
                                childList: true
                            });
                            if (wait !== undefined) {
                                setTimeout(() => {
                                    observer.disconnect()
                                }, wait)
                            }
                        })
                    };
                    async function removeAll(targetSelector, rootSelector, now = false) {
                    if (now) {
                        const parent = rootSelector ? document.querySelector(rootSelector) : document;
                        if (parent) {
                            const target = parent.querySelector(targetSelector);
                            if (target) {
                                target.remove();
                                return true
                            }
                        }
                        return false
                    }
                    const target = await removeObj(targetSelector, rootSelector);
                    target.remove()
                    };

                    if(play_url.indexOf('iqiyi.com/v_') != -1){

						function iqiyiRemove() {

							remove('div#scrollTip,.qy-glide,#qy-glide,[class^="qy-glide"],[id^="qy-glide"],svg[display="none"][aria-hidden="true"],div[class*="player-side-ear"],div[class^="player-mnb"][data-asyn-pb]');
							removeAll('div[style*="visibility"][style*="visible"]:not([class]):not([id]):not([style*="fixed"])', undefined, false);

						};
						setTimeout(iqiyiRemove, 1234);
						$('div[style*="visibility"][style*="visible"]:not([class]):not([id]):not([style*="fixed"])').hide();
						(function() {
							$("body").on('mouseover', 'ul li [href*="/v_"][href*=".html"]:not([href*="=http"]):not([href*="?http"]):not([href*="#http"])', function(e) {
								let objfj = $(this), href = objfj.attr('href') || objfj.data("href");
								objfj.off('click.chrome');

								objfj.on('click.chrome', function() {
									window.location.href = href
								}).attr('data-href', href).css({
									cursor: 'pointer'
								}).removeAttr('href')
							})
						})();
					}

                    if(play_url.indexOf('v.qq.com/x/cover') != -1){

                    (function() {
                        $("body").on('mouseover', '.item a', function(e) {

                            let objfj = $(this), href = objfj.attr('href') || objfj.data("href");
                            objfj.off('click.chrome');

                            objfj.on('click.chrome', function() {
                                window.location.href = href
                            }).attr('data-href', href).css({
                                cursor: 'pointer'
                            }).removeAttr('href')
                        })
                    })();
                    }

                    $(".playLineTd").click(function(){

						var play_html = "<div style='width:100%;height:100%;'><iframe allowtransparency=true frameborder='0' scrolling='no' allowfullscreen=true allowtransparency=true name='jx_play' style='height:100%;width:100%' id='playIframe'></iframe></div>";

						$(node).html(play_html);

						var iframe_src= this.id+play_url;

						$("#playIframe").attr("src",iframe_src);

						$("#"+id_random).attr('flag',0);

                     });
					 let firstTime='',lastTime='';
					 $('.move').mousedown(function(){
                            $(document).bind("selectstart",function(){return false;});
						 	firstTime = new Date().getTime();
                            $(document).mousemove(function(e){
								$('.move').offset({
									//left:e.pageX,
                                    left:40,
									top:e.pageY,
								});
                                if(e.pageX>50 || e.pageX<1 || e.pageY<15){
                                    $(document).off('mousemove');
                                    $(document).off('selectstart');
                                };
							})
							$('.move').mouseup(function(){
								$(document).off('mousemove');
                                $(document).off('selectstart');
								lastTime = new Date().getTime();
								if( (lastTime - firstTime) < 200){
									$("#"+id_random).attr('flag',1);//没有移动
								}else{
									$("#"+id_random).attr('flag',0);//移动了
								}
                                var zhmTop = $(".move").css('top');
								var zhmLeft= $(".move").css('left')

								GM_setValue('zhmTop',zhmTop);
								GM_setValue('zhmLeft',zhmLeft);
							})
					});
                    $("#"+id_random).click(function(){

						var flag = $("#"+id_random).attr('flag');

						if(flag == 0){
							return false;
						}

                        var play_jx_url = window.location.href;
                        if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
                            var mobile_html = "<div style='margin:0 auto;padding:10px;'>";
                            mobile_html +="<button type='button' style='position:absolute;top:0;right:30px;font-size:30px;line-height: 1;color: #000;text-shadow: 0 1px 0 #fff;cursor: pointer;border:0;background:0 0;' onclick='location.reload();'>×</button>";
                            mobile_html += "<div><iframe src='https://www.eggvod.cn/mobile.php?zhm_jx="+play_jx_url +"' allowtransparency=true frameborder='0' scrolling='no' allowfullscreen=true allowtransparency=true name='jx_play'style='height:600px;width:100%'></iframe></div>"
                            mobile_html += "</div>";
                            $("body").html(mobile_html);
                        } else {
                            $.get('https://www.eggvod.cn/jxcode.php',{in:81516699,code:2},function(data){
                                location.href='https://www.eggvod.cn/jxjx.php?lrspm='+data+'&zhm_jx='+play_jx_url;
                            });
                        }
                    });


                }, 3000);

            }
        }

        //music start

        if($.cookie('zhmOnload') == 1){

            $.removeCookie('zhmOnload');

            return false;
        }

        var zhmVipTopMusic = GM_getValue('zhmTopMusic');

        if(zhmVipTopMusic == undefined){
            zhmVipTopMusic = '200px';
        }

        var zhmVipLeftMusic = GM_getValue('zhmLeftMusic');

        if(zhmVipLeft == undefined){
            zhmVipLeftMusic = '0px';
        }

        var music_id = Math.ceil(Math.random()*100000000);
		var music_title=new Array()
		music_title[0]="163.com"
		music_title[1]= "y.qq.com"
		music_title[2]= "kugou.com"
		music_title[3]= "kuwo.cn"
		music_title[4]= "xiami.com"
		music_title[5]= "taihe.com"
		music_title[6]= "1ting.com"
		music_title[7]= "migu.cn"
		music_title[8]= "qingting.fm"
		music_title[9]= "lizhi.fm"
		music_title[10]= "ximalaya.com"
		for(var nn=0;nn <music_title.length;nn++){

			if(get_url.indexOf(music_title[nn])!= -1){


                var music_html = "<div href='javascript:toGet()' id="+music_id+" style='cursor:pointer;z-index:99999999999;display:block;width:50px;height:75px;line-height:30px;position:fixed;left:"+zhmVipLeftMusic+";top:"+zhmVipTopMusic+";text-align:center;background-image: url(https://www.eggvod.cn/images/vip.png);background-repeat:no-repeat;' class='moveMusic'></div>";

                $("body").append(music_html)


			}

		}

        if(get_url.indexOf('163.com')!= -1){
            $.cookie('zhmOnload',1, { expires: 7 });
        }
		var moveMusic = document.getElementsByClassName("moveMusic")[0];

		let firstTime='',lastTime='';

		moveMusic.onmousedown = function (e) {
             document.body.style.userSelect = 'none';
			firstTime = new Date().getTime();
			var e_down = e || window.event;
			var x = e_down.clientX - e_down.target.offsetLeft;
			var y = e_down.clientY - e_down.target.offsetTop;

			document.onmousemove = function(e){
				var e_move = e || window.event;
				let left_ = e_move.clientX - x;
				let top_ = e_move.clientY - y;

				if(left_ < 0){
					left_ = 0;
                    mouseUpFunc()
				}else if(left_ > document.documentElement.clientWidth - e_down.target.offsetWidth){
					left_ = document.documentElement.clientWidth - e_down.target.offsetWidth
				}
				if(top_ < 0){
					top_ = 0
                    mouseUpFunc()
				}else if(top_ > document.documentElement.clientHeight - e_down.target.offsetHeight){
					top_ = document.documentElement.clientHeight - e_down.target.offsetHeight
				}
                if (
                    e_move.clientX > 50 ||
                    e_move.clientX < 0 ||
              e_move.clientY > document.documentElement.clientHeight ||
              e_move.clientY < 0
            ) {
                    mouseUpFunc()
            }
				//moveMusic.style.left = left_+'px';
                moveMusic.style.left = '0px';
				moveMusic.style.top = top_+'px';

			}
			// 释放鼠标
			moveMusic.onmouseup = function(){
				mouseUpFunc();
				lastTime = new Date().getTime();
				if( (lastTime - firstTime) < 100){
					$("#"+music_id).attr('flag',1);//没有移动
				}else{
					$("#"+music_id).attr('flag',0);//移动了
				}
                var zhmTopMusic = $(".moveMusic").css('top');
                var zhmLeftMusic = $(".moveMusic").css('left')

                GM_setValue('zhmTopMusic',zhmTopMusic);
                GM_setValue('zhmLeftMusic',zhmLeftMusic);
			}
            function mouseUpFunc() {
                document.body.style.userSelect = 'auto';
                document.onmousemove = null;
            }
		}

		$("#"+music_id).click(function(){

			var flag = $("#"+music_id).attr('flag');

			if(flag == 0){
				return false;
			}

            var hostUrl = window.location.href;

            if(hostUrl.match(/music\.163\./)){

                if(hostUrl.match(/^https?:\/\/music\.163\.com\/#\/(?:song|dj)\?id/)) {

                    window.open('http://music.jpnet.cc/newmusic/?url='+encodeURIComponent(hostUrl.replace('/#','')));

                }else if(hostUrl.match(/^https?:\/\/y\.music\.163\.com\/m\/(?:song|dj)\?id/)) {

                     window.open('http://music.jpnet.cc/newmusic/?url='+encodeURIComponent('https://music.163.com/song?id='+getQueryString('id')));

                }else{
                  return false;
                }
            }else if(hostUrl.match(/y\.qq\.com/)){

                try {
                    document.querySelector("audio").pause();
                } catch (e) {}

                var qqSong = $('#sim_song_info').children("a").attr("href").match(/song\/(\S*).html/);
                window.open('http://music.jpnet.cc/newmusic/?id='+qqSong[1]+'&type=qq&playUrl='+encodeURIComponent(document.querySelector("audio").src));

            }else if(hostUrl.match(/kugou\.com/)){
                try {
                    document.querySelector("audio").pause();
                } catch (e) {}
                var kgSong = hostUrl.match(/hash=(\S*)&album/);
                window.open('http://music.jpnet.cc/newmusic/?id='+kgSong[1]+'&type=kugou&playUrl='+encodeURIComponent(document.querySelector("audio").src));

            }else if(hostUrl.match(/kuwo\.cn/)){

                try {
                    document.querySelector("audio").pause();
                } catch (e) {}
                var kwSong = hostUrl.match(/play_detail\/(\S*)/);
                console.log(kwSong);
                window.open('http://music.jpnet.cc/newmusic/?id='+kwSong[1]+'&type=kuwo&playUrl='+encodeURIComponent(document.querySelector("audio").src));

            }else if(hostUrl.match(/www\.xiami\.com/)){
                try {
                    document.querySelector("audio").pause();
                } catch (e) {}
                var xmSong = hostUrl.match(/song\/(\S*)/);
                console.log(xmSong);
                window.open('http://music.jpnet.cc/newmusic/?id='+xmSong[1]+'&type=xiami&playUrl='+encodeURIComponent(document.querySelector("audio").src));

            }else if(hostUrl.match(/www\.ximalaya\.com/)){
                var xmlyUrlArr = hostUrl.split("/");

                for(var xuaIndex =0;xuaIndex<xmlyUrlArr.length;xuaIndex++){

                    if(xuaIndex==xmlyUrlArr.length-1){

                        window.open('http://music.jpnet.cc/newmusic/?id='+xmlyUrlArr[xuaIndex]+'&type=xmly&playUrl='+encodeURIComponent(hostUrl));

                    }

                }
            }else if(hostUrl.match(/music\.taihe\.com/)){
                return false;
            }else{
                 return false;

            }

		});

	}


	//获取url参数;
	function getQueryString(e) {
		var t = new RegExp("(^|&)" + e + "=([^&]*)(&|$)");
		var a = window.location.search.substr(1).match(t);
		if (a != null) return a[2];
		return "";
	}
})();