|
本帖最后由 coobar 于 2019-5-13 09:49 编辑
- var tpcFid = '23';
- var eName = (tpcFid=='8' || tpcFid=='16') ? 'input' : 'img';
- $('.sptable_do_not_remove h4:eq(0)').append('<span class=e2rtfdr></span>');
- $(document).ready(function(){
- $(eName+'[data-src]').each(function(){
- $(this).attr('src', $(this).attr('data-src'));
- $(this).css('cursor', 'pointer');
- $(this).click(function(){
- window.open('http://www.viidii.info/?action=image&url='+encodeURIComponent($(this).attr('data-link'))+'&src='+encodeURIComponent($(this).attr('src')));
- return false;
- });
- });
- var timerS = setTimeout(function(){r1aeadS()}, 1603);
- r1aeadS();
- });
- function adhtml(tpcHtml){
- $('.tpc_content:eq(0)').html(tpcHtml);
- }
- function r1aeadS(){
- var blockText = 'ADBlock 屏蔽,请等待60秒';
- var damageText= '网页元素被过滤器破坏,无法显示内容';
- if( typeof $('.tips').css('top') === 'undefined' || typeof $('.sptable_do_not_remove').css('left') === 'undefined'){
- $('.tpc_content').remove();
- alert(damageText);
- }else if($('.tips').css('top').replace(/[^\d.]/g, '') != '' || $('.sptable_do_not_remove').css('left').replace(/[^\d.]/g, '') != '' || $('.tips').css('opacity')=='0' || $('.sptable_do_not_remove').css('opacity')=='0'){
- $('.tpc_content').remove();
- alert(damageText);
- }
- if( typeof $('.tips').css('display') === 'undefined' || typeof $('.sptable_do_not_remove:eq(0)').html() === 'undefined'){
- $('.tpc_content').remove();
- alert(damageText);
- }else if($('.sptable_do_not_remove:eq(0)').html().indexOf('e2rtfdr')==-1){
- $('.tpc_content').remove();
- alert(damageText);
- }
- if($('.sptable_do_not_remove td').css('display')=='none' || $('.tips').css('display')=='none' || $('.tips').css('height')=='0px' || $('.tips').css('visibility')=='hidden'){
- var tpcHtml = $('.tpc_content:eq(0)').html();
- $('.tpc_content:eq(0)').html(blockText);
- var timer = setTimeout(function(){adhtml(tpcHtml)}, 60000);
复制代码
某榴的。用了ADBlock去广告之后,会提示“ADBlock 屏蔽,请等待60秒”
之前用“r1aeadS= null;”可以屏蔽这个。现在失效了,不知道使了什么坏,我是个外行,不会搞,请教各位大神!! |
|