xiasf
3/1/2018 - 7:04 AM

adblock-detector广告阻拦探测器

adblock-detector广告阻拦探测器

// JavaScript Document

//baidu-20171120
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?a4af3d965fe98b6552d4e2ceecde35a9";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();

/*var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?ac109a7147396152534f7b6b2bbc507e";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();*/

document.writeln("<div style=\"display:none;\">");
document.writeln("<script src=\"http://s95.cnzz.com/stat.php?id=1255455330&web_id=1255455330\" language=\"JavaScript\"></script>");
document.writeln("<script src=\"http://s11.cnzz.com/stat.php?id=1254760299&web_id=1254760299\" language=\"JavaScript\"></script>");
document.writeln("<script src=\"http://s11.cnzz.com/stat.php?id=1259276514&web_id=1259276514\" language=\"JavaScript\"></script>");
document.writeln("</div>");





//百度增强收录开始

(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
//百度增强收录结束

/*广告代码核心1*/
document.writeln('<script src="http://dup.baidustatic.com/js/os.js"></script>');

<!-- 广告位:D站播放页play上方广告 -->
function WRITE_video_adtop(){
}

function WRITE_video_ad0(){
}

<!-- 广告位:D站视频通栏C4-1 C4-2 -->
function WRITE_video_ad1(){
	if (new Date().getTime() >  1515772800000 && new Date().getTime()<1515859200000){
	//$('.num').before('<div class="tooltip" data-tooltip-content="#ewmlyzzr"><a href="/lyzzr" target="_blank"><img src="/uploads/allimg/171227/1_1520203421.png"></a></div><div class="tooltip_templates" style="display:none"><span id="ewmlyzzr"><img src="/uploads/allimg/171227/ewmlyzzr.png" width="135" /></span></div>');
	var rr=Math.random();
	if(rr<0.33){$('.num').before('<a href="https://market-h5.taqu.cn/html/promotion/download/171221/index.html" target="_blank"><img style="display:block !important;" src="http://www.dilidili.wang/uploads/allimg/180112/1_2254425751.jpg"></a>');}
	else{$('.num').before('<a href="https://market-h5.taqu.cn/html/promotion/download/171221/index.html" target="_blank"><img style="display:block !important;" src="http://www.dilidili.wang/uploads/allimg/180112/900x90.gif"></a>');}
}
	//$('.num').before('<div class="tooltip" data-tooltip-content="#ewmsd"><a href="http://www.dilidili.wang/shandai.html" target="_blank"><img src="/uploads/allimg/171122/1_2252063201.jpg"></a></div><div class="tooltip_templates" style="display:none"><span id="ewmsd"><img src="/uploads/allimg/171123/1_1709269591.png" width="135" /></span></div>');
	//$('.num').before('<a href="http://www.missevan.com/explore/channel/16808"><img src="http://www.dilidili.wang/uploads/allimg/170822/20170822134225.jpg" style="width: 100%;margin-top: 18px;"></a>');
	//$('.num').before('<div class="tooltip" data-tooltip-content="#ewm239"><a href="http://ch615.wx.11h5.com/?chid=615&gameid=170&trial=1"><img src="http://www.dilidili.wang/uploads/allimg/170804/6_13441129436.jpg"></a></div><div class="tooltip_templates" style="display:none"><span id="ewm239"><img src="http://www.dilidili.wang/uploads/allimg/170803/239.png" width="135" /></span></div>');
	/*广告位置前放*///$('.num').before('<a href="http://www.missevan.com/sound/m/54"><img src="/shouye/gg900x90.png"></a>');
	//document.writeln('<a href="http://ch615.wx.11h5.com/?chid=615&gameid=170"><img style="display:block !important;" src="/shouye/gg900x90.jpg"></a>');
	//document.writeln('<a href="https://tracking.hoolai.com/tracking/1726/"><img src="/ad/dazuozhan/C4.jpg"></a>');
	//document.writeln('<a href="http://xiaoc.cn/from?status=dilidili"><img src="http://qiniu.bilibilijj.com/dilidili_jj.gif"/></a>');
	//document.writeln('<a href="http://jtc.005.tv/"><img src="http://static.jfrft.com/images/video_20170110/video_c1_20161127.jpg"/></a>');
	
}

<!-- 广告位:播放页右下方大图 闲置 -->
function WRITE_video_ad2(){
	//document.writeln('<a href="https://market-h5.taqu.cn/html/promotion/download/171221/index.html" target="_blank"><img src="/shouye/A5-4.jpg" style="height: 35px; width: 265px;"/></a>');
        //document.writeln('<a href="http://ch615.wx.11h5.com/?chid=615&amp;gameid=239&trial=1" target="_blank"><img src="http://static.jfrft.com/ad/265x300_1.jpg"/></a>');
	//document.writeln('<a style="display:block !important;" href="//basi.dilidili.wang"><img src="/a/basi-265x300.jpg"></a>');
	//document.writeln('<a href="/facg"><img src="/shouye/A5-4.jpg"/></a>');
}

<!-- 广告位:D站视频页C5-1 -->
function WRITE_tongyong_ad1(){
	if (new Date().getTime() < 1508860800000){
	document.writeln('<a href="http://ad.moemoe.la:8001/ad/ad_dilidili"><img src="http://www.dilidili.wang/uploads/allimg/170930/1_0325062388.jpg"></a>');
	}
	/* 幻音音乐*/document.writeln('<script id="huanyin" src="https://net.huanmusic.com/zy/iframe0041.js?name=.rm_pank&data-big=true&data-after=true&width=100%&height=254px&data-class=m-10&end=true&name=.nofucs&data-after=true&width=100%&height=254px&data-class=nofucs&data-big=false&end=true&name=.episodeWrap&data-after=true&width=100%&height=270px&data-class=episodeWrap&data-big=false&end=true&name=.container-right-item____1&data-after=true&width=100%&height=200px&data-class=container-right-item&data-big=240px"></script>');
	//document.writeln('<a href="https://tracking.hoolai.com/tracking/1726/"><img src="/ad/dazuozhan/A4.jpg"></a>');
	//document.writeln('<a href="http://nono.2144.cn/dilidili" style="width:100%;"><img src="http://static.jfrft.com/images/video_20170110/c5_20170216.png"/></a>');
	//document.writeln('<script>(function() {var s = \"_\" + Math.random().toString(36).slice(2);document.write(\'<div id=\"\' + s + \'\"></div>\');(window.slotbydup=window.slotbydup || []).push({id: \'3137870\',container: s,size: \'265,300\',display: \'inlay-fix\'});})();</script>');
}

<!-- 广告位:D站-视频页-右下方-C5-2 -->
function WRITE_video_ad3(){
	//document.writeln('<a href="https://tracking.hoolai.com/tracking/1726/"><img src="/ad/dazuozhan/A4.jpg"></a>');
	//document.writeln('<script>(function() {var s = \"_\" + Math.random().toString(36).slice(2);document.write(\'<div id=\"\' + s + \'\"></div>\');(window.slotbydup=window.slotbydup || []).push({id: \'2642715\',container: s,size: \'265,300\',display: \'inlay-fix\'});})();</script>');
	//document.writeln('<a href="http://click.bh3.com/adclick/aHR0cDovL2JoMy5jb20vdXBfdmVyL2luZGV4LnBocD9tZWRpYV9mcm9tPWRpbGlkaWxp.ZGlsaWRpbGk=..5335c7324216a04aeaa1e7dabae91f63"><img src="http://static.jfrft.com/images/video_20170110/r2_20170106.jpg"/></a>');
}

function leftclose(){
	$(".dlleft").hide(100);
}
function rightclose(){
	$(".dlright").hide(100);
}

var browser={    
	versions:function(){            
		var u = navigator.userAgent, app = navigator.appVersion;            
		return {                
		trident: u.indexOf('Trident') > -1,               
		presto: u.indexOf('Presto') > -1,                
		webKit: u.indexOf('AppleWebKit') > -1,              
		gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,               
		mobile: !!u.match(/AppleWebKit.*Mobile.*/)||!!u.match(/AppleWebKit/),          
		ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),                 
		android: u.toLowerCase().indexOf('android') > -1 ,   
		iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1,               
		iPad: u.indexOf('iPad') > -1,               
		webApp: u.indexOf('Safari') == -1           
		};
	}()
}

if(document.body.clientWidth>1366){
	if (new Date().getTime() > 1513612800000 && new Date().getTime() < 1513872000000){
	document.writeln('<div style=\"position:fixed; top:110px; left:0; z-index:99;\" class=\"dlleft\"><div style=\"position:absolute; top:-20px; left:0;\"><a onclick=\"leftclose(this)\">\u5173\u95ED\u5E7F\u544A</a></div><a href="http://pr.da.netease.com/receiver/?action=ad&camName=1513560294240&target=http%3A%2F%2Fwww.lofter.com%2Ftag%2FLOFTER%25E4%25B8%258D%25E6%25AD%25A3%25E7%25BB%258F%25E9%259D%2592%25E5%25B9%25B4%3Ffrom%3Dtagsearch&sid=-767330544"><img src="/uploads/allimg/171218/1_1752387981.jpg"></a></div>');
	document.writeln('<div style=\"position:fixed; top:110px; right:0; z-index:99;\" class=\"dlright\"><div style=\"position:absolute; top:-20px; right:0;\"><a onclick=\"rightclose(this)\">\u5173\u95ED\u5E7F\u544A</a></div><a href="http://pr.da.netease.com/receiver/?action=ad&camName=1513560294240&target=http%3A%2F%2Fwww.lofter.com%2Ftag%2FLOFTER%25E4%25B8%258D%25E6%25AD%25A3%25E7%25BB%258F%25E9%259D%2592%25E5%25B9%25B4%3Ffrom%3Dtagsearch&sid=-767330544"><img src="/uploads/allimg/171218/1_1752387981.jpg"></a></div>');
	}
}
else {
	
}



//tooltipster配置
var oScript = document.createElement('script');
oScript.src="http://static.jfrft.com/tooltipster/tooltipster.bundle.js";
document.getElementsByTagName('head')[0].appendChild(oScript);
var oLink = document.createElement('link');
oLink.rel="stylesheet";
oLink.href="http://static.jfrft.com/tooltipster/tooltipster-sideTip-shadow.min.css";
document.getElementsByTagName('head')[0].appendChild(oLink);
var oLink1 = document.createElement('link');
oLink1.rel="stylesheet";
oLink1.href="http://static.jfrft.com/tooltipster/tooltipster.bundle.css";
document.getElementsByTagName('head')[0].appendChild(oLink1);



//search-toggle
searchToggle2 = function()
{
	if($('.box3').parent().attr('title') == '切换至360搜索')
	{
		$('.box3').css('background','rgb(255, 255, 255) url("http://www.dilidili.wang/newimages/search_baidu_pink.png") no-repeat scroll 50% 50% / auto padding-box border-box');
		$('.search_box2').hide();
		$('#so360').show();
		$('.box3').parent().attr('title','切换至百度搜索');
	}
	else
	{
		$('.box3').css('background','rgb(255, 255, 255) url("http://www.dilidili.wang/newimages/search_360_pink.png") no-repeat scroll 50% 50% / auto padding-box border-box');
		$('#so360').hide();
		$('.search_box2').show();
		$('.box3').parent().attr('title','切换至360搜索');
	}
}




$(document).ready(function() {
$.ajax({
    url: "http://static.jfrft.com/tooltipster/tooltipster.bundle.js",
    dataType: "script",
    }).done(function(){   
        $(document).ready(function() {
            $('.tooltip').tooltipster({
		theme: 'tooltipster-shadow',
		side: 'right',
		maxWidth: 152,
		maxHeight: 215,
		interactive: true,
		contentAsHTML: true,
		distance: -5,
    		});
        });
    });

//kdzy specific ad
if($("meta[name='keywords']").attr('content') == '狂赌之渊')
	$('.play_ad').append('<a href="http://www.xcmh.cc/c/KuangDuZhiYuan/" rel="nofollow"><img src="http://www.dilidili.wang/uploads/allimg/170814/6_1017328396.png" style="float: right;position: relative;top: -24px;right: -161px;height: 35px;z-index: 999;"></a>');
//360so
$('.search_box2').after('<div id="so360" class="fr"><form action="http://www.so.com/s" target="_blank" id="so360form"><input type="text" autocomplete="off" name="q" id="so360_keyword" placeholder="搜索感兴趣的动漫"><input type="submit" id="so360_submit" value=""><input type="hidden" name="ie" value="utf8"><input type="hidden" name="src" value="zz_www.dilidili.wang"><input type="hidden" name="site" value="www.dilidili.wang"><input type="hidden" name="rg" value="1"></form></div>')
$('.w1410 #so360').after('<a onclick="searchToggle2()" title="切换至360搜索" class="fr"><i class="box3"></i></a>')



});

$(window).load(function(){

//log&register
var refurl = 'refurl=' + encodeURIComponent(location);
var logUrl = 'http://usr.005.tv?' + refurl;
var registerUrl = 'http://usr.005.tv/User/register.html?' + refurl;

$('.w1410 #login_1_1').prev().attr('href',registerUrl);
$('.w1410 #login_1_1').attr('href',logUrl);
$('.comment-send a').attr('href',logUrl);

});
// JavaScript Document

//baidu-20171120
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?a4af3d965fe98b6552d4e2ceecde35a9";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();


//统计代码开始
/*var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?ac109a7147396152534f7b6b2bbc507e";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();*/

document.writeln("<div style=\"display:none;\">");
document.writeln("<script src=\"http://s95.cnzz.com/stat.php?id=1255455330&web_id=1255455330\" language=\"JavaScript\"></script>");
document.writeln("<script src=\"http://s11.cnzz.com/stat.php?id=1254760299&web_id=1254760299\" language=\"JavaScript\"></script>");
document.writeln("<script src=\"http://s11.cnzz.com/stat.php?id=1259276514&web_id=1259276514\" language=\"JavaScript\"></script>");
document.writeln("</div>");
//统计代码结束

var _czc = _czc || [];
_czc.push(["_setAccount", "1255455330"]);


//百度增强收录开始
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
//百度增强收录结束



var nonoSquare = "http://static.jfrft.com/images/nono/nono-square-" + ~~(Math.random() / 0.5 + 1)+ ".png";
var nonoWide = "http://static.jfrft.com/images/nono/nono-wide-" + ~~(Math.random() / 0.5)+ ".jpg";

var jw3date = new Date / 86400000 - 17273;
self.console && console.log(jw3date);
jw3date = Math.floor(jw3date);

<!-- 广告位:D站信息页-右侧方-B2-1-->
function WRITE_xinxi_ad(){
	//document.writeln('<a href="http://jtc.005.tv/"><img src="http://static.jfrft.com/images/list_20161219/list_c1_20161127.jpg"/></a>');
}

<!-- 广告位:D站信息页横幅B1-1 -->
function WRITE_xinxi_ad0(){
	if ( new Date().getTime() < 1516723200000){
		$('.time_con:last').after('<a href="http://a751.oadz.com/link/C/751/966732/RiaGJpWewq3js4.ypLTFmjuEzuo_/p014/0/http://jx3.xoyo.com/" target="_blank" style="position: relative;top: 22px; left: -13px;" onclick="_czc.push([\'_trackEvent\', \'dili_jx3_ad_list\', \'click\']);"><img src="/uploads/allimg/171229/1_2003093972.jpg"></a>')
	} 
	//document.writeln('<a href="http://trakv.gtags.net/tms/trakclk?v1;29;100000246;4071;4062;738;-1;2581&url=http%3A//a751.oadz.com/link/C/751/962311/jvr6siLNyW39d74p2tYO-RDv8YI_/p014/0/http%3A//jx3.xoyo.com/" target="_blank"><img src="/shouye/xinxi_0.jpg"></a>');
	//document.writeln('<a href="http://nono.2144.cn/dilidili" style="width:100%;"><img src="' + nonoWide + '"/></a>');
	//document.writeln('<a href="http://v3.m.youzu.com/?q=58b3f4b4abf191907896" style="width:100%;"><img src="http://static.jfrft.com/images/ad/daojianluanwu/900x120.jpg"/></a>');
}
<!-- 广告位:D站信息页B1-2 -->
function WRITE_xinxi_ad1(){

	document.writeln('<a href="https://market-h5.taqu.cn/html/promotion/download/171221/index.html" target="_blank"><img style="display:block !important;" src="/uploads/allimg/180112/1_2315049692.jpg"></a>');

	//document.writeln('<a href="https://tracking.hoolai.com/tracking/1726/"><img src="/ad/dazuozhan/B1.jpg"></a>');
}

<!-- 广告位:D站信息页-右侧方-B2-1-->
function WRITE_xinxi_ad2(){
	if (new Date().getTime() >  1515772800000 && new Date().getTime()<1515859200000){
	//document.writeln('<div class="tooltip" data-tooltip-content="#ewmlyzzr"><a href="/lyzzr" target="_blank"><img src="/uploads/allimg/171227/1_1500278411.png" width="100%"></a></div><div class="tooltip_templates" style="display:none"><span id="ewmlyzzr"><img src="/uploads/allimg/171227/ewmlyzzr.png" width="135" /></span></div>');
	document.writeln('<a href="https://market-h5.taqu.cn/html/promotion/download/171221/index.html" target="_blank"><img style="display:block !important;" src="/uploads/allimg/180112/1_2315047821.jpg"></a>');
}
	//document.writeln('<div class="tooltip" data-tooltip-content="#ewmhlxx"><a href="/hlxx.html" target="_blank"><img src="/uploads/allimg/171201/1_1539162511.gif" width="100%"></a></div><div class="tooltip_templates" style="display:none"><span id="ewmhlxx"><img src="http://www.dilidili.wang/uploads/allimg/171130/ewmhlxx.png" width="135" /></span></div>');
	//document.writeln('<div class="tooltip" data-tooltip-content="#ewmsd"><a href="http://www.dilidili.wang/shandai.html" target="_blank"><img src="/uploads/allimg/171122/1_2245206621.jpg" style="display:inline !important;margin-bottom: 24px;"></a></div><div class="tooltip_templates" style="display:none"><span id="ewmsd"><img src="/uploads/allimg/171123/1_1709269591.png" width="135" /></span></div>');
	//document.writeln('<div class="tooltip" data-tooltip-content="#ewm170"><a href="http://ch615.wx.11h5.com/?chid=615&gameid=170&trial=1" target="_blank"><img src="/uploads/allimg/170928/1_1539162511.jpg" width="100%"></a></div><div class="tooltip_templates" style="display:none"><span id="ewm170"><img src="http://www.dilidili.wang/uploads/allimg/170823/170.png" width="135" /></span></div>');
	//document.writeln('<a href="http://www.lofter.com/extact/lofter-vote/end-vote.html?type=8" target="_blank"><img src="/shouye/A5_02.jpg" width="100%"></a>');
	//document.writeln('<a href="http://tg.ah8.cc/go-hd-360uu-1-351-229.html"><img src="/shouye/xinxi_ad2.jpg" width="100%"></a>');
	//document.writeln('<a href="http://www.dilidili.wang/ss1"><img style="display:block !important;" src="/shouye/A5.jpg" width="100%"></a>');
	//document.writeln('<a href="https://tracking.hoolai.com/tracking/1726/"><img src="/ad/dazuozhan/A4.jpg"></a>');
	//document.writeln('<a href="http://bbs.005.tv/thread-558127-1-1.html " style="width:100%;"><img src="http://static.jfrft.com/images/list_20161219/r1_20170214.jpg"/></a>');
	//document.writeln('<a style="width:100%;"><img src="http://static.jfrft.com/images/gonggao.png"/></a>');
}

<!-- 广告位:D站信息页-B2-2 -->
function WRITE_tongyong_ad1(){
	if (new Date().getTime() < 1508860800000){
	document.writeln('<a href="http://ad.moemoe.la:8001/ad/ad_dilidili"><img src="/uploads/allimg/170930/1_0325062388.jpg"></a>');
	}
	//document.writeln('<a href="http://trakv.gtags.net/tms/trakclk?v1;29;100000246;4070;4061;738;-1;2580&url=http%3A//a751.oadz.com/link/C/751/962310/Q0rg11.6fG.n3Klbf1NxkW0ssgg_/p014/0/http%3A//jx3.xoyo.com/"><img src="/ad/dazuozhan/A4.jpg"></a>');
	//document.writeln('<a href="http://trakv.gtags.net/tms/trakclk?v1;29;100000239;3976;3967;733;-1;2527&url=http%3A//a751.oadz.com/link/C/751/962052/spMtuqCH-AAk3hCsEb5QzLDCndI_/p036/0/http%3A//zt.jx3.xoyo.com/zt/2017/04/12/ecy/pc/index.html"><img src="/ad/jianwang3/B2.jpg"></a>');
	//document.writeln('<a href="http://emoji.adesk.com/"><img src="http://static.jfrft.com/images/list_20161219/r2.jpg"/></a>');
	//document.writeln('<a href="http://click.bh3.com/adclick/aHR0cDovL2JoMy5jb20vdXBfdmVyL2luZGV4LnBocD9tZWRpYV9mcm9tPWRpbGlkaWxp.ZGlsaWRpbGk=..5335c7324216a04aeaa1e7dabae91f63"><img src="http://static.jfrft.com/images/list_20161219/r2_20170106.jpg"/></a>');
}

<!-- 广告位:D站信息页-B2-3 -->
function WRITE_xinxi_ad3(){
	document.writeln('<script type="text/javascript">panshi_a ="1947451392_231546880_1";panshi_b ="360_300_12";</script><script type="text/javascript" src="http://s.adyun.com/show_ps3.js"></script>');//changqi
	//document.writeln('<a href="http://weibo.com/1871794463/F0slHdadM"><img style="display:block !important;" src="/shouye/a4-20170427.jpg"></a>');
	/* 幻音音乐 */document.writeln('<script id="huanyin" src="https://net.huanmusic.com/zy/iframe0034.js?name=.rm_pank&data-big=true&data-after=true&width=100%&height=254px&data-class=m-10&end=true&name=.nofucs&data-after=true&width=100%&height=254px&data-class=nofucs&data-big=false&end=true&name=.episodeWrap&data-after=true&width=100%&height=270px&data-class=episodeWrap&data-big=false&end=true&name=.container-right-item____1&data-after=true&width=100%&height=200px&data-class=container-right-item&data-big=240px"></script>');
	//document.writeln('<a href="http://game.005.tv/yys/392/"><img src="http://static.jfrft.com/images/list_20161219/r3_20161226.jpg"/></a>');
	//document.writeln('<a href="http://click.bh3.com/adclick/aHR0cDovL2JoMy5jb20vdXBfdmVyL2luZGV4LnBocD9tZWRpYV9mcm9tPWRpbGlkaWxp.ZGlsaWRpbGk=..5335c7324216a04aeaa1e7dabae91f63"><img src="http://static.jfrft.com/images/list_20161219/r2_20170106.jpg"/></a>');
}

//kdzy specific ad
if(location.pathname.substring(0,12) == '/anime/kdzy/')
{
     $('.time_pic').after('<a href="http://www.xcmh.cc/c/KuangDuZhiYuan/" rel="nofollow"><img src="http://www.dilidili.wang/uploads/allimg/170814/6_1017328369.png"></a>');
}

//下载地址nofollow
$('.list_xz a').attr('rel','nofollow')


function WRITE_xinxi_adhjj0(){
	document.writeln('<a href="http://www.playyx.com/p/blr/201609235872/10303215.html" target="_blank" style=" margin:0 auto;"><img style="display:block !important;" src="http://static.jfrft.com/images/list_20161219/hjh_a1_20161220.jpg" width="100%" /></a>');
}
function WRITE_xinxi_adhjj1(){
}
function WRITE_xinxi_adhjj2(){
}
function WRITE_tongyong_ad2(){
	document.writeln('<a href="http://www.playyx.com/p/blr/201609235872/10305145.html" target="_blank" style=" margin:0 auto;"><img style="display:block !important;" src="http://static.jfrft.com/images/list_20161219/hjh_a2_20161220.jpg" width="100%" /></a>');
}
function WRITE_xinxi_adhjj3(){
}
function WRITE_xinxi_adhjj4(){
	document.writeln('<a href="http://www.playyx.com/p/blr/201609235872/10305145.html" target="_blank" style=" margin:0 auto;"><img style="display:block !important;" src="http://static.jfrft.com/images/list_20161219/hjh_a2_20161220.jpg" width="100%" /></a>');
}

//tooltipster配置
var oScript = document.createElement('script');
oScript.src="http://static.jfrft.com/tooltipster/tooltipster.bundle.js";
document.getElementsByTagName('head')[0].appendChild(oScript);
var oLink = document.createElement('link');
oLink.rel="stylesheet";
oLink.href="http://static.jfrft.com/tooltipster/tooltipster-sideTip-shadow.min.css";
document.getElementsByTagName('head')[0].appendChild(oLink);
var oLink1 = document.createElement('link');
oLink1.rel="stylesheet";
oLink1.href="http://static.jfrft.com/tooltipster/tooltipster.bundle.css";
document.getElementsByTagName('head')[0].appendChild(oLink1);

//search-toggle
searchToggle2 = function()
{
	if($('.box3').parent().attr('title') == '切换至360搜索')
	{
		$('.box3').css('background','rgb(255, 255, 255) url("http://www.dilidili.wang/newimages/search_baidu_pink.png") no-repeat scroll 50% 50% / auto padding-box border-box');
		$('.search_box2').hide();
		$('#so360').show();
		$('.box3').parent().attr('title','切换至百度搜索');
	}
	else
	{
		$('.box3').css('background','rgb(255, 255, 255) url("http://www.dilidili.wang/newimages/search_360_pink.png") no-repeat scroll 50% 50% / auto padding-box border-box');
		$('#so360').hide();
		$('.search_box2').show();
		$('.box3').parent().attr('title','切换至360搜索');
	}
}


$(document).ready(function() {
$.ajax({
    url: "http://static.jfrft.com/tooltipster/tooltipster.bundle.js",
    dataType: "script",
    }).done(function(){   
        $(document).ready(function() {
            $('.tooltip').tooltipster({
		theme: 'tooltipster-shadow',
		side: 'right',
		maxWidth: 152,
		maxHeight: 215,
		interactive: true,
		contentAsHTML: true,
		distance: -5,
    		});
        });
    });




//360so
$('.search_box2').after('<div id="so360" class="fr"><form action="http://www.so.com/s" target="_blank" id="so360form"><input type="text" autocomplete="off" name="q" id="so360_keyword" placeholder="搜索感兴趣的动漫"><input type="submit" id="so360_submit" value=""><input type="hidden" name="ie" value="utf8"><input type="hidden" name="src" value="zz_www.dilidili.wang"><input type="hidden" name="site" value="www.dilidili.wang"><input type="hidden" name="rg" value="1"></form></div>');
$('.w1410 #so360').after('<a onclick="searchToggle2()" title="切换至360搜索" class="fr"><i class="box3"></i></a>');

});



$(window).load(function(){

//log&register
var refurl = 'refurl=' + encodeURIComponent(location);
var logUrl = 'http://usr.005.tv?' + refurl;
var registerUrl = 'http://usr.005.tv/User/register.html?' + refurl;

$('.w1410 #login_1_1').prev().attr('href',registerUrl);
$('.w1410 #login_1_1').attr('href',logUrl);
$('.comment-send a').attr('href',logUrl);

//swiper-no-swiping
$('.swiper-slide').addClass('swiper-no-swiping');
$('.swiper-container').addClass('swiper-no-swiping');

});
    //adblock-detector
    $.ajax({
        url: "http://static.jfrft.com/js/main_list.js",
        dataType: "script"
    }).done(function(){
        $.ajax({
            url: "http://static.jfrft.com/js/main_video.js",
            dataType: "script"
        }).fail(function(){
            document.body.innerHTML='<h2 id="adb-contant">我们检测到你可能使用了广告过滤插件或软件,它的部分策略可能会影响到正常功能的使用。<br>你可以设定特殊规则或将嘀哩嘀哩加入白名单,以便更好的在二次元世界驰骋。</h2>';
        });
    }).fail(function(){
        document.body.innerHTML='<h2 id="adb-contant">我们检测到你可能使用了广告过滤插件或软件,它的部分策略可能会影响到正常功能的使用。<br>你可以设定特殊规则或将嘀哩嘀哩加入白名单,以便更好的在二次元世界驰骋。</h2>';
    });