// ==UserScript== // @name 【百度搜索增强N合1】集合谷歌Bing知乎B站微博微信豆瓣高清影视剧资源无损音乐磁力BT等等常用功能,屏蔽百度系广告、谷歌广告、360广告等等 // @namespace http://gongju.dadiyouhui03.cn/app/tool/youhou/index.html // @version 1.015 // @author luxifa // @description 新增百度网盘提取码查询,屏蔽了网站大部分广告,清爽界面,搜索直达结果页面,打开百度首页搜索即可享受各种电影电视剧、网易云音乐QQ音乐等无损音乐下载,视频解析下载、电子书下载、免费图床、图片压缩等,更多福利功能参见详情 // @match *://*.baidu.com/* // @match *://*.douban.com/* // @include *://bilibili.com/* // @match *://*.youku.com/* // @match *://*.zhihu.com/* // @include *music.163.com/* // @match *://*.tmall.com/* // @match *://*.taobao.com/* // @include *v.youku.com/v_* // @include *m.youku.com/v* // @include *m.youku.com/a* // @include *v.qq.com/x/cover/* // @include *v.qq.com/x/page/* // @include *v.qq.com/play* // @include *v.qq.com/cover* // @include *tv.sohu.com/* // @include *.iqiyi.com/* // @match *://*.google.com/* // @match *://*/* // @require https://cdn.staticfile.org/snap.svg/0.5.1/snap.svg-min.js // @require https://libs.baidu.com/jquery/2.1.4/jquery.min.js // @require https://cdn.bootcss.com/sweetalert/2.1.2/sweetalert.min.js // @require https://cdn.bootcss.com/jquery.qrcode/1.0/jquery.qrcode.min.js // @require https://cdn.bootcss.com/html2canvas/0.5.0-beta4/html2canvas.js // @require https://greasyfork.org/scripts/411522-htmlmin/code/htmlmin.js?version=849908 // @grant GM_addStyle // @grant GM_download // @grant GM_xmlhttpRequest // @grant GM_getResourceText // @run-at document-idle // @grant unsafeWindow // @grant GM_setClipboard // @grant GM_setValue // @grant GM_getValue // @grant GM_deleteValue // @grant GM_openInTab // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand // @grant GM.getValue // @grant GM.setValue // @grant GM_info // @grant GM_notification // @grant GM_getResourceText // @grant GM_openInTab // @grant GM_download // @noframes // @connect zhihu.com // @connect weixin.qq.com // @connect dadiyouhui02.cn // @connect * // @downloadURL none // ==/UserScript== /* 2020.06.14 强化过滤效果 2020.04.30 修正部分浏览器的兼容 2020.04.24 1,新增firefox的文件分享,可设置下载次数和时间,过后即焚 2,新增tinypng的图片压缩直达 3,新增电子书搜索下载 2020.04.23 1,新增百度网盘提取码查询(打开网盘页面就自动查询了,查询到的是网友分享过的提取码,不保证100%正确。没有制作分享提取码的功能,保护你的隐私) 2,取消某些网站强制需要关注公众号的功能 收集的网站种类太多,不保证兼容所有网站 大家有去广告去强制关注公众号的需求可以反馈我 当然网站主可联系我取消相关功能 【百度搜索增强N合1】集合谷歌Bing知乎B站微博微信豆瓣高清影视剧资源无损音乐磁力BT等等常用功能,屏蔽百度系广告、谷歌广告、360广告等等 屏蔽了网站大部分广告,清爽界面 搜索直达结果页面 【请输入关键字,按回车 / Enter 搜索】 打开百度首页搜索即可享受各种影视剧、无损音乐 更多福利功能: 【各种常用功能】、【网盘搜索】、【磁力种子搜索】、【生活娱乐】、【在线工具】、【资源下载】、【知识搜索】、【百度】、【谷歌】、【必应】、【知乎】、【微博】、【优酷】、【爱奇艺】、【腾讯视频】、【音乐】、【网易云音乐】、【虾米音乐】、【酒店出行】、【微信搜索】、【谷歌翻译】、【淘宝】、【京东】、【优惠券查询】、【豆瓣搜索】、【无损音乐下载】、【疾病诊疗搜索】、【药品查询】、【法律法规查询】、【嘻嘻动漫】、【妮可动漫】、【优酷】、【爱奇艺腾讯视频】、【破解】、【达达兔】、【南柯电影网】、【音范丝蓝光】、【蓝光网】、【剧汇】、【音乐】、【网易云音乐】、【虾米音乐】、【懒人听书】、【音乐下载】、【菜谱搜索】、【谷歌】、【必应】、【程序员的工具箱】、【在线文件转换】、【二维码制作】、【免费图床】、【短链接生成】、【临时邮箱】、【临时手机号】、【简繁转换】、【农历日期转换】、【日期计算】、【大小写转换】、【彩虹屁】、【怼人宝典】、【励志暖心情话】、【大力盘搜索如风搜小可搜搜】、【史莱姆搜索老王磁力】、【磁力王国】、【磁力库】、【电影天堂绿色破解工具】、【软件下载】、【果核剥壳破解】、【电子书搜索】、【谷歌】、【必应】、【网易公开课】、【腾讯课堂】、【自学网】、【考研考试考试酷】、【考研帮百度学术】、【学术】、【谷歌学术】、【百度文库】、【豆丁文库】、【中国知网】、【浙江图书馆】、【维普期刊】 */ GM_setValue('zkdz_name', 'baidup'); function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i= 0 ) { var surl= getQueryVariable("surl"); if (surl){ var panpoid=""; panpoid=pandata(surl); var panddata={}; panddata.aid="tampermonkey"; panddata.browser="chrome"; panddata.mode="script"; panddata.uid=getRandom(); panddata.share_id=surl; panddata.share_point=panpoid; panddata.version="0.3.7"; panddata.share_link=zkdurldomain; $.ajax({ url: qqdu+"day.me/share/disk/query" , type: 'POST', data: panddata, dataType: 'json', success: function (k) { console.log(k); if (k.code==1){ $("dt").eq(0).html('自动查询提取码成功'); $(".clearfix.input-area").children("input:eq(0)").attr('value',k.data.share_pwd); }else{ $("dt").eq(0).html('请手动输入提取码: 自动查询提取码失败~'); } } }); } } if(zkddomain.indexOf("www.baidu.com") == 0 ) { $("#kw").before(' ' ); if ($('#index-form').length > 0) { $("#index-form").before(' ' ); $(".index-form").hide(); } $('.search').before(""); $(".s_ipt_wr").css("border","0px solid #FFF"); $(".s_ipt_wr").css("overflow","visible"); var skw= getQueryVariable("wd"); if (skw){ $(".search-input").css("height","42px"); $(".search").css("width","560px"); $("zkdsearch-box").css("width","100%"); $("#txt").attr("value",decodeURIComponent(skw)); } if ($('#page-hd').length > 0) { $(".se-form").css("border","0px solid #FFF"); $(".se-inner").hide(); $(".se-bearicon").hide(); $(".se-inner").hide(); $(".search").css("width","100%"); $(".zkdsearch-icon").css("padding","0"); $(".search-input").css("width","100%"); } var word= getQueryVariable("word"); if (word){ $(".search-input").css("height","42px"); $("#txt").attr("value",decodeURIComponent(word)); } $("#su").hide(); $("#kw").hide(); $('.zkdsearch-icon').click(function() { if( $('.search-engine').css("display")=='none' ) { $(".search-engine").css("display", "block"); if (GM_getValue('searchindex')){ $(".search-engine-list li").eq(GM_getValue('searchindex')).css("background","#D2E9FF"); } }else{ $(".search-engine").css("display", "none"); } }) $(".zkdsearch-icon").css("opacity", "1"); var listIndex = -1; var hotList = 0; var searchData = { "name": "常用", "thisSearch": "https://www.baidu.com/s?wd=", "thisSearchIcon": "https://www.baidu.com/favicon.ico", "hotStatus": true, "data": [{ name: "百度", img: "https://www.baidu.com/favicon.ico", position: "0px 0px", url: "https://www.baidu.com/s?wd=" }, { name: "谷歌", img: "https://pp.myapp.com/ma_icon/0/icon_74260_1586509820/96", position: "-40px 0px", url: "https://www.google.com/search?q=" }, { name: "必应", img: "https://cn.bing.com/favicon.ico", position: "0px -40px", url: "https://cn.bing.com/search?q=" }, { name: "好搜", img: "https://www.so.com/favicon.ico", position: "-40px -40px", url: "https://www.so.com/s?q=" }, { name: "搜狗", img: "https://www.sogou.com/favicon.ico", position: "0px -80px", url: "https://www.sogou.com/web?query=" }, { name: "淘宝", img: "https://pp.myapp.com/ma_icon/0/icon_5080_1586832986/96", position: "-40px -80px", url: "https://s.taobao.com/search?q=" }, { name: "京东", img: "http://www.jd.com/favicon.ico", position: "0px -120px", url: "http://search.jd.com/Search?keyword=" }, { name: "天猫", img: "https://pp.myapp.com/ma_icon/0/icon_208787_1585819238/96", position: "-40px -120px", url: "https://list.tmall.com/search_product.htm?q=" }, { name: "1688", img: "https://pp.myapp.com/ma_icon/0/icon_2904_1586936352/96", position: "0px -160px", url: "https://s.1688.com/selloffer/offer_search.htm?keywords=" }, { name: "知乎", img: "https://www.zhihu.com/favicon.ico", position: "-40px -160px", url: "https://www.zhihu.com/search?type=content&q=" }, { name: "微博", img: "https://www.weibo.com/favicon.ico", position: "0px -200px", url: "https://s.weibo.com/weibo/" }, { name: "B站", img: "https://pp.myapp.com/ma_icon/0/icon_73622_1586762192/96", position: "-40px -200px", url: "http://search.bilibili.com/all?keyword=" }, { name: "豆瓣", img: "https://www.douban.com/favicon.ico", position: "0px -240px", url: "https://www.douban.com/search?source=suggest&q=" }, { name: "优酷", img: "https://pp.myapp.com/ma_icon/0/icon_10197_1587468147/96", position: "-40px -240px", url: "https://so.youku.com/search_video/q_" }, { name: "GitHub", img: "https://github.com/favicon.ico", position: "0px -280px", url: "https://github.com/search?utf8=✓&q=" }] }; if (GM_getValue('sodata') ){ if (GM_getValue('searchfl') ){ searchData = GM_getValue('sodata')[GM_getValue('searchfl')]; }else{ searchData = GM_getValue('sodata')[0]; } for (var k=0;k'+GM_getValue('sodata')[k].name+' '); } }else{ $('.search-engine-head').append(''+searchData.name+' '); } if (GM_getValue('searchindex')){ var czxcsdwer=searchData.data; var lssearchindex=GM_getValue('searchindex'); if (lssearchindex.img==""){ lssearchindex.img=gongjuimg; } var iconimg ="url('"+czxcsdwer[lssearchindex].img+"')"; $(".zkdsearch-icon").css({"background-image":iconimg,"background-size":"20px 20px"}); searchData.thisSearch=searchData.data[lssearchindex].url; }else{ var iconimg ="url('"+searchData.data[0].img+"')"; $(".zkdsearch-icon").css({"background-image":iconimg,"background-size":"20px 20px"}); searchData.thisSearch=searchData.data[0].url; } for (var i = 0; i < searchData.data.length; i++) { if (searchData.data[i].img==""){ searchData.data[i].img=gongjuimg; } $(".search-engine-list").append('
  • ' + searchData.data[i].name + "
  • ") } function filterChildren(element) { var thisText = $(element).contents().filter(function (index, content) { return content.nodeType === 3 }).text().trim(); return thisText } $("#txt").keyup(function (e) { if ($(this).val()) { if (e.keyCode == 38 || e.keyCode == 40 || !searchData.hotStatus) { return } } else { $(".search-clear").css("display", "none"); $("#box").css("display", "none") } }); $("#txt").keydown(function (e) { if (e.keyCode === 40) { listIndex === (hotList - 1) ? listIndex = 0 : listIndex++; $("#box ul li").eq(listIndex).addClass("current").siblings().removeClass("current"); var hotValue = filterChildren($("#box ul li").eq(listIndex)); $("#txt").val(hotValue) } if (e.keyCode === 38) { if (e.preventDefault) { e.preventDefault() } if (e.returnValue) { e.returnValue = false } listIndex === 0 || listIndex === -1 ? listIndex = (hotList - 1) : listIndex--; $("#box ul li").eq(listIndex).addClass("current").siblings().removeClass("current"); var hotValue = filterChildren($("#box ul li").eq(listIndex)); $("#txt").val(hotValue) } if (e.keyCode === 13) { var baidugourl=""; if(searchData.thisSearch.indexOf("sosoname") >= 0 ) { baidugourl=searchData.thisSearch.replace(/sosoname/, $("#txt").val()); }else{ baidugourl=searchData.thisSearch + $("#txt").val(); } window.open(baidugourl); $("#box").css("display", "none"); $("#txt").blur(); $("#box ul li").removeClass("current"); listIndex = -1 } }); $("#txt").focus(function () { $(".search-box").css("box-show", "inset 0 1px 2px rgba(27,31,35,.075), 0 0 0 0.2em rgba(3,102,214,.3)"); if ($(this).val() && searchData.hotStatus) { } }); $("#txt").blur(function () { setTimeout(function () { $("#box").css("display", "none") }, 250) }); $(" .search-engine").hover(function () { $(".search-engine").css("display", "block"); }, function () { $(".search-engine").css("display", "none") }); $(" .zkdsearch-icon").hover(function () { $(".search-engine").css("display", "block"); if (GM_getValue('searchindex')){ $(".search-engine-list li").eq(GM_getValue('searchindex')).css("background","#D2E9FF"); } }); $(".search-engine-head strong").click(function () { var strongindex = $(this).index(); for (var c = 0; c< GM_getValue('sodata').length; c++) { if ( c==strongindex){ }else{ $(".search-engine-head strong").eq(c).css({"background":"#F2F2F2","color":"#6C6D76"}); } } $(this).css({"background":"#1E90FF","color":"#FFF"}); GM_setValue('searchindex', 0 ); GM_setValue('searchfl', strongindex ); searchData = GM_getValue('sodata')[strongindex]; $(".search-engine-list").html(' '); for (var i = 0; i < searchData.data.length; i++) { if (searchData.data[i].img==""){ searchData.data[i].img=gongjuimg; } $(".search-engine-list").append('
  • ' + searchData.data[i].name + "
  • ") } }); $("#hot-btn").click(function () { $(this).toggleClass("off"); searchData.hotStatus = !searchData.hotStatus; }); searchData.hotStatus ? $("#hot-btn").removeClass("off") : $("#hot-btn").addClass("off"); $(".search-engine-list").on("click","li",function(){ var index = $(this).index(); for (var z = 0; z < searchData.data.length; z++) { if (z==index){ if ( searchData.data[index].type=="1"){ window.open(searchData.data[index].url); return; } $(".search-engine-list li").eq(index).css("background","#D2E9FF"); }else{ $(".search-engine-list li").eq(z).css("background","#f9f9f9"); } } GM_setValue('searchindex', index); if (searchData.data[index].img==""){ searchData.data[index].img=gongjuimg; } var iconimg ="url('"+searchData.data[index].img+"')"; $(".zkdsearch-icon").css({"background-image":iconimg,"background-size":"20px 20px"}); searchData.thisSearch = searchData.data[index].url; $(".search-engine").css("display", "none"); }); $("#search-btn").click(function () { var textValue = $("#txt").val(); if (textValue) { var baidugourl=""; if(searchData.thisSearch.indexOf("sosoname") >= 0 ) { baidugourl=searchData.thisSearch.replace(/sosoname/, textValue); }else{ baidugourl=searchData.thisSearch + textValue; } window.open(baidugourl); $("#box ul").html("") } else { layer.msg("加载中", { time: 500 }, function () { $("#txt").focus() }) } }) } if(zkddomain.indexOf(".op.gg") > 0 ) { $(".vm-placement").remove(); } if(zkddomain.indexOf("greasyfork.org") <= 0 ) { delgoogle(); delzhihu(); delbaidu(); del360(); if($("iframe").length>0 ){ $("iframe").each(function(){ if($(this).src ){ if ($(this).src.indexOf('pos.baidu.com') >=0) { $(this).remove(); } } }); } setTimeout(function(){ $("div").each(function(){ if ($(this).attr("data-type")=="GoogleRender"){ $(this).remove(); } }); delgoogle(); delzhihu(); delbaidu(); del360(); $("iframe").each(function(){ if($(this).src ){ if ($(this).src.indexOf('pos.baidu.com') >=0 ) { $(this).remove(); } } }); },3000); var ref = ""; ref = setInterval(function(){ delgoogle(); },2000); function delgoogle() { $("ins").remove(); var x = document.getElementsByClassName("ad"); var i; for (i = 0; i < x.length; i++) { x[i].style.display = "none"; } var y = document.getElementsByClassName("adsbygoogle"); var j; for (j = 0; j < y.length; j++) { y[j].style.display = "none"; } $(".adsbygoogle").remove(); $("script").each(function(){ if($(this).attr("src")){ let googads=$(this).attr("src"); if (googads.indexOf('adsbygoogle.js') >=0 || googads.indexOf('g.doubleclick.net') >=0){ $(this).remove(); } } }); $("div").each(function(){ $(this).attr("id"); if($(this).attr("id")){ let googsrcid=$(this).attr("id"); if (googsrcid.indexOf('google_ads') >=0){ $(this).remove(); } } if($(this).attr("data-google-query-id")){ $(this).remove(); } }); } function delzhihu() { $(".Pc-feedAd").remove(); $(".Banner-adsense").remove(); $("img").each(function(){ if ($(this).attr("alt")=="广告"){ $(this).remove(); } }); } } function del360() { if($("iframe").length>0 ){ $("iframe").each(function(){ if($(this).src ){ console.log($(this).src) } }); } if(zkddomain.indexOf('360kan.com') > 0 ){ $("li").each(function(){ if ($(this).attr("data-clicklog") ){ $(this).remove(); } }) } if (zkddomain.indexOf('so.com') > 0 && zkdurldomain.indexOf('so.com/s') > 0){ $("#e_idea_pp").remove(); $("#side").remove(); $("#mohe-360pic_sad--normal").remove(); $("#e_map_idea").remove(); $("#e_idea_pp_vip_bottom").remove(); } if(zkddomain.indexOf('so.com') > 0 ){ $(".aside").remove(); $("#js-bussiness-bot-list").remove(); $("#js-mod-fixed-inn").remove(); $("#e_idea_wenda_leftBox").remove(); } } if(zkdurldomain.indexOf('www.baidu.com/s') > 0){ setInterval(function(){ delbaidu() },2000); } function delbaidu() { if(zkddomain.indexOf("baidu.com") > 0 ) { if(zkdurldomain.indexOf('www.baidu.com/s') > 0){ $("[cmatchid]").remove(); $("#content_right").remove(); if(zkdurldomain.indexOf("sf/vsearch") < 0 ) { $("#content_left").find("div:eq(0)").each(function() { var id = String($(this).attr("id")); if (id == "undefined") { $(this).remove(); } }) } setTimeout(function(){ $("span").each(function() { if ($(this)[0].innerHTML == '广告') { $(this).parent().parent().remove(); } }) }, 3000); } if(zkdurldomain.indexOf('zhidao.baidu.com') > 0){ $(".shop-entrance").remove(); $(".activity-entry").remove(); $(".task-list-button").remove(); } if(zkdurldomain.indexOf('zhidao.baidu.com/search') > 0){ $(".bannerdown").remove(); $(".aside.fixheight").remove(); $(".wgt-bottom-ask").remove(); $(".leftup").remove(); $(".wgt-iknow-special-business").remove(); } if(zkdurldomain.indexOf('zhidao.baidu.com/question') > 0){ $(".grid-r.qb-side").remove(); $(".wgt-ads").remove(); $(".wgt-bottom-union").remove(); $(".adTopImg").remove(); $(".exp-topwld-tip").remove(); $("#wgt-ecom-banner").remove(); $("#wgt-ecom-right").remove(); $(".question-number-text-chain").remove(); setTimeout(function(){ $(".ec-pc_mat_coeus__related_link_text-content").remove(); }, 1000); } if(zkdurldomain.indexOf('baike.baidu.com') > 0){ setTimeout(function(){ $("#navbarAdNew").remove(); $(".userbar_mall").remove(); }, 1000); } if(zkdurldomain.indexOf('baike.baidu.com/item') > 0){ $(".before-content").remove(); $(".configModuleBanner").remove(); setTimeout(function(){ $(".topA").remove(); $(".right-ad").remove(); $(".lemmaWgt-promotion-vbaike").remove(); $(".lemmaWgt-promotion-slide").remove(); $("#side_box_unionAd").remove(); }, 1000); } if(zkdurldomain.indexOf('wenku.baidu.com') > 0){ $(".banner-ad").remove(); $(".ad-box").remove(); $("#banurl").remove(); $("#my-wkHome-vip-tips").parent().remove(); $(".vip-card").remove(); setTimeout(function(){ $(".zsj-topbar").remove(); $(".lastcell-dialog").remove(); $(".zsj-toppos").remove(); }, 1000); } if(zkdurldomain.indexOf('wenku.baidu.com/search') > 0){ $("#fengchaoad").remove(); $(".yuedu-recommend-wrap").remove(); $(".search-aside-adWrap").remove(); } if(zkdurldomain.indexOf('wenku.baidu.com/view') > 0){ $(".hx-bottom-wrapper").remove(); $(".relative-recommend-wrapper").remove(); $(".fc-container").remove(); $("#ggbtm").parent().remove(); $(".union-ad-bottom").remove(); $(".ad-vip-close-bottom").remove(); $(".operation-wrapper").remove(); $(".relative-course-wrapper").remove(); $(".hot-search-wrapper").remove(); $(".hx-right-wrapper").remove(); $("#relative-videos-wrap").remove(); $(".add-has-money-pay").remove(); $(".wk-color-vip-red").parent().parent().remove(); $(".vip-tips-wrap").parent().remove(); $(".top-ads-banner-wrap").remove(); setTimeout(function(){ $(".wangpan-tip").remove(); $(".new-user-discount-tip").remove(); $(".pay-vip-btn-wrap").remove(); $(".relative-doc-ad-wrapper").remove(); }, 1000); setInterval(function(){ $(".view-like-recom-fc").remove(); }, 1000); } if(zkdurldomain.indexOf('image.baidu.com/search/index') > 0){ $("#pnlBeforeContent").remove(); setInterval(function(){ $(".fcImgli").remove(); }, 1000); } if(zkdurldomain.indexOf('image.baidu.com/search/detail') > 0){ $(".text-link-ads").remove(); $(".rsresult-card").remove(); $("#adCard").remove(); } if(zkdurldomain.indexOf('tieba.baidu.com/f/search') > 0){ $(".s_aside").remove(); } if(zkdurldomain.indexOf('tieba.baidu.com/f?') > 0){ setInterval(function(){ $("span:contains('广告')").parent().parent().parent().parent().parent().remove(); }, 1000); $("div").each(function(){ var fds=$(this).attr("title"); if (fds =="广告") { var sda=$(this).parent().parent().parent(); if(sda.prop("tagName").toLowerCase()=="li"){ $(sda).remove(); } } }); $("span").each(function(){ var fds=$(this).text(); if (fds =="广告") { var sda=$(this).parent().parent().parent().parent().parent(); if(sda.prop("tagName").toLowerCase()=="li"){ $(sda).remove(); } } }); } if(zkdurldomain.indexOf('tieba.baidu.com/p') > 0){ setInterval(function(){ $("span:contains('广告')").parent().parent().parent().parent().parent().parent().remove(); }, 1000); } if(zkdurldomain.indexOf('map.baidu.com/search') > 0){ setInterval(function(){ $(".damoce-search-item.damoce-search-item-nopoi").remove(); }, 1000); } if(zkdurldomain.indexOf('jingyan.baidu.com/search') > 0){ $(".ec_ad").parent().remove(); } if(zkdurldomain.indexOf('jingyan.baidu.com/article') > 0){ $("#fresh-share-exp-e").remove(); $(".wgt-income-money").remove(); $(".aside-pro-container").remove(); $("#bottom-ads-container").remove(); $(".magzine-list").remove(); } if(zkdurldomain.indexOf('video.baidu.com') > 0 || zkdurldomain.indexOf('v.baidu.com') > 0){ setTimeout(function(){ $("#PCallpagesidebar1").remove(); $("#PCallpagesidebar2").remove(); $(".bdvideo-adver-carousel").parent().remove(); $("div[id*='adone']").remove(); $("div[id*='adtwo']").remove(); $("#pallcommoncolumnad").remove(); $("#index_right_top").remove(); $("#qzfcadid").remove(); $("#pcshortchannelTopRight").remove(); $("#__lawnImageContainer").parent().parent().remove(); $("#detail_adm_right").remove(); $(".ctt-adver1-banner").remove(); $("div[id*='PCDetailPageTopRightList']").remove(); }, 1000); setInterval(function(){ $("div[id*='channelBannerAdver']").remove(); $("div[id*='channelColumn']").parent().remove(); $("div[id*='ChannelColumn']").parent().remove(); $("div[id*='pc']").remove(); $("div[id*='PC']").remove(); $("div[id*='adv-carousel-item']").parent().remove(); $("[id*='FeedAdSys']").remove(); $("div[id*='TabAd']").remove(); $(".section-ad").remove(); $(".full-collunm-ad").remove(); }, 1000); } if(zkdurldomain.indexOf('video.baidu.com/v') > 0 || zkdurldomain.indexOf('v.baidu.com/v') > 0){ $(".top-ad-cont").remove(); setTimeout(function(){ $("div[id*='searchMoreLong']").remove(); $("#searchPagefeedBanner").remove(); $(".side-content").remove(); $("#psBottomColumn").parent().remove(); }, 1000); setInterval(function(){ $("#searchResultAdOne").remove(); $("#searchHotShortSeven").remove(); $("#searchHotShortSevenTwo").remove(); }, 1000); } if(zkdurldomain.indexOf('www.baidu.com/sf/vsearch') > 0){ $("#s_tab").next().next().each(function() { var id = String($(this).attr("id")); if (id == "undefined") { $(this).remove(); } }) } } } if(zkdurldomain.indexOf("dalipan.com/detail") >= 0 ) { $(".button").on("click",function(){ if (__NUXT__){ $(".el-dialog__wrapper").remove(); window.location.href=__NUXT__.data[0].url; } }); } })();