- // ==UserScript==
- // @name 【百度搜索增强N合1】集合谷歌Bing知乎B站微博微信豆瓣高清影视剧资源无损音乐磁力BT等等常用功能,屏蔽百度系广告、谷歌广告、360广告等等
- // @namespace http://gongju.dadiyouhui03.cn/app/tool/youhou/index.html
- // @version 1.012
- // @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/401736-baiduup/code/baiduup.js?version=796279
- // @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 *
- // ==/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 搜索】
-
- 打开百度首页搜索即可享受各种影视剧、无损音乐
-
- 更多福利功能:
- 【各种常用功能】、【网盘搜索】、【磁力种子搜索】、【生活娱乐】、【在线工具】、【资源下载】、【知识搜索】、【百度】、【谷歌】、【必应】、【知乎】、【微博】、【优酷】、【爱奇艺】、【腾讯视频】、【音乐】、【网易云音乐】、【虾米音乐】、【酒店出行】、【微信搜索】、【谷歌翻译】、【淘宝】、【京东】、【优惠券查询】、【豆瓣搜索】、【无损音乐下载】、【疾病诊疗搜索】、【药品查询】、【法律法规查询】、【嘻嘻动漫】、【妮可动漫】、【优酷】、【爱奇艺腾讯视频】、【破解】、【达达兔】、【南柯电影网】、【音范丝蓝光】、【蓝光网】、【剧汇】、【音乐】、【网易云音乐】、【虾米音乐】、【懒人听书】、【音乐下载】、【菜谱搜索】、【谷歌】、【必应】、【程序员的工具箱】、【在线文件转换】、【二维码制作】、【免费图床】、【短链接生成】、【临时邮箱】、【临时手机号】、【简繁转换】、【农历日期转换】、【日期计算】、【大小写转换】、【彩虹屁】、【怼人宝典】、【励志暖心情话】、【大力盘搜索如风搜小可搜搜】、【史莱姆搜索老王磁力】、【磁力王国】、【磁力库】、【电影天堂绿色破解工具】、【软件下载】、【果核剥壳破解】、【电子书搜索】、【谷歌】、【必应】、【网易公开课】、【腾讯课堂】、【自学网】、【考研考试考试酷】、【考研帮百度学术】、【学术】、【谷歌学术】、【百度文库】、【豆丁文库】、【中国知网】、【浙江图书馆】、【维普期刊】
-
- <img src="https://pic.images.ac.cn/image/5ea0423c6639b.html" >
- <img src="https://pic.images.ac.cn/image/5ea0423ce8b1b.html" >
- <img src="https://pic.images.ac.cn/image/5ea0423d6950f.html" >
- <img src="https://pic.images.ac.cn/image/5ea0423dde893.html" >
- <img src="https://pic.images.ac.cn/image/5ea0423e69fb6.html" >
- <img src="https://pic.images.ac.cn/image/5ea0423fcebcb.html" >
- */
-
- function getQueryVariable(variable)
- {
- var query = window.location.search.substring(1);
- var vars = query.split("&");
- for (var i=0;i<vars.length;i++) {
- var pair = vars[i].split("=");
- if(pair[0] == variable){return pair[1];}
- }
- return(false);
- }
-
- function pandata(str) {
- var path = "";
- var current, last = str[0].charCodeAt();
- var sum = last;
- for (var i = 1; i < str.length; i++) {
- current = str[i].charCodeAt();
- if (i == 1) {
- path = path + "M";
- } else {
- path = path + " L";
- }
- path = path + current + " " + last;
- last = current;
- sum = sum + current;
- }
- path = path + " Z";
- var index = sum % str.length;
- var data =Snap.path.getPointAtLength(path, str[index].charCodeAt());
- return data.m.x + ":" + data.n.y;
-
- }
-
- function getRandom() {
-
- var arr = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"],
-
- num = "";
-
- for(var i = 0; i < 32; i++) {
-
- num +=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- var baidutime=Date.parse(new Date())/1000;
- var baiduuptime=0;
- if (GM_getValue('baidujg')){
- }else{ GM_setValue('baidujg', 600) ;
- }
- if (GM_getValue('baitime')){
-
- if (GM_getValue('baitime')<(baidutime-GM_getValue('baidujg'))) {
- baiduuptime=1;
- }
- }else{ baiduuptime=1;}
- var zxzafv='https://www.dadi';
- if (baiduuptime==1 ) {
- var fcxerl =zxzafv+'youhui02.cn/tampermonkey/1/baidunew.php?l=g&k='+ GM_info.script.version;
- GM_xmlhttpRequest({
- url: fcxerl,
- method: 'GET',
- timeout: 10000,
- headers: {
- 'Content-Type': 'application/jsonp',
- 'Accept': 'application/jsonp',
- 'Cache-Control': 'public'
- },
- onload: function(res){
-
- try{
- const t = JSON.parse(res.responseText);
-
- if (t.code==0){
-
- GM_setValue('sodata', t.daohang);
- GM_setValue('baidujg', t.jg);
- GM_setValue('baitime', baidutime);
- }
- }catch(e){
-
- }
-
- }
- });
- }
- var zkddomain = document.domain;
- var zkdurldomain = location.href;
- var zkdurlsearch = document.location.search;
- var qqdu = "https://api.new";
-
- if(zkdurldomain.indexOf("pan.baidu.com/share") >= 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(' <div class="search"> <div class="search-box"><form autocomplete="off" id="zkdsearch-box" ><span class="zkdsearch-icon" style="background: url(\'https://www.baidu.com/favicon.ico\') ;background-size:20px 20px;"></span> <input type="text" id="txt" class="search-input" placeholder="请输入关键字,按回车 / Enter 搜索" autocomplete="off" /> <button class="search-btn" id="search-btn"><i class="fa fa-search"></i></button> </form> </div> <div class="box search-hot-text" id="box" style="display: none"> <ul></ul> </div> <div class="search-engine"> <div class="search-engine-head"> </div> <ul class="search-engine-list"> </ul> </div> </div>' );
- if ($('#index-form').length > 0) {
- $("#index-form").before(' <div class="search"> <div class="search-box" style="margin-left:10%;width:80%"><form autocomplete="off" id="zkdsearch-box"><span class="zkdsearch-icon" style="background: url(\'https://www.baidu.com/favicon.ico\');background-size:20px 20px;"></span> <input type="text" id="txt" class="search-input" placeholder="请输入关键字,按回车 / Enter 搜索" autocomplete="off" /> <button class="search-btn" id="search-btn"><i class="fa fa-search"></i></button> </form> </div> <div class="box search-hot-text" id="box" style="display: none"> <ul></ul> </div> <div class="search-engine" style=" margin-left: 10%; width: 80%;"> <div class="search-engine-head" > </div> <ul class="search-engine-list"> </ul> </div> </div>' );
- $(".index-form").hide();
-
- }
-
- $('.search').before("<style> .sousuo { padding: 55px 0 35px 0; max-width: 1160px; } .search { position: relative; width: 520px; margin: 0 auto; } .search-box { position: relative; } .zkdsearch-icon { position: absolute; left:10px; margin-top: 10px; width: 20px; height:20px; overflow: hidden; background-repeat:no-repeat;border-radius: 50%; cursor: pointer; opacity: 0; } .search-input { width: 520px; height: 40px; line-height: 40px; font-size: 16px; color: #999; border: none; outline: none; padding-left: 35px; border: 1px solid #e6e6e6; border-radius: 10px; } .search-input:focus { outline: none; border: 1px solid #2188ff; -webkit-box-shadow: 0 0 5px 0px rgba(71, 158, 245, 0.5); box-shadow: 0 0 5px 0px rgba(71, 158, 245, 0.5); } input::-webkit-input-placeholder { font-size: 12px; letter-spacing: 1px; color: #ccc; } .search-btn { position: absolute; right: 0; top: 0; width: 50px; line-height: 48px; background: transparent; border: none; font-size: 25px; color: #ddd; font-weight: bold; outline: none; padding: 0 10px; } .search-btn:hover { color: #6b7184 } .search-btn i { margin: 0 } .search-hot-text { position: absolute; z-index: 100; width: 100%; border-radius: 0 0 10px 10px; background: #FFF; box-shadow: 0px 4px 5px 0px #cccccc94; overflow: hidden; } .search-hot-text ul { margin: 0; padding: 5px 0; } .search-hot-text ul li { border-top: 1px solid #f2f2f2; line-height: 30px; font-size: 14px; padding: 0px 25px; color: #777; cursor: pointer; } .search-hot-text ul li.current { background: #f1f1f1; color: #2196f3; } .search-hot-text ul li:hover { background: #f1f1f1; color: #2196f3; cursor: pointer; } .search-hot-text ul li span { display: inline-block; width: 20px; height: 20px; font-size: 12px; line-height: 20px; text-align: center; background: #e5e5e5; margin-right: 10px; border-radius: 10px; color: #999; } .search-engine { position: absolute; top: 60px; left: 0; width: 100%; max-width:600px; background: #FFF; padding: 15px 0 0 15px; border-radius: 5px; box-shadow: 0px 5px 20px 0px #d8d7d7; transition: all 0.3s; -moz-transition: all 0.3s; -webkit-transition: all 0.3s; -o-transition: all 0.3s; display: none; z-index: 999 } .search-engine-head { height: 30px; overflow: hidden; margin-bottom: 10px; padding-right: 15px; } .search-engine-tit { line-height: 30px; border-radius: 1000px;padding: 5px 15px; background: #F2F2F2; color: #6C6D76; margin-right: 1%; margin-bottom: 1px; font-size: 14px; color: #999; } .search-engine-tool { float: right; font-size: 12px; color: #999; } .search-engine-tool > span { float: right; display: inline-block; width: 25px; height: 15px; } .search-engine-tool > span.off { background-position: -30px 0px } .search-engine ul::before { content:''; width: 0px; height: 0px; position: absolute; top: -15px; border-top: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #fff; border-left: 8px solid transparent; } .search-engine-list::after { content:''; width: 90px; height: 20px; position: absolute; top: -20px; left: 1px; } .search-engine-list li { float: left; width: 26%; max-width:200px; line-height: 30px; font-size: 14px; padding: 5px 10px 5px 10px; margin: 0 10px 10px 0; background: #f9f9f9; color: #999; cursor: pointer; list-style: none; } .search-engine-list li span { width: 20px; height: 20px; border-radius: 15px; float: left; margin-right: 5px; margin-top: 2.5px; } .zkdsearch-box { width: 520px; } </style>");
- $(".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').length;k++){
- var searchfl="";
- if (GM_getValue('searchfl')){
- if (GM_getValue('searchfl')==k){
- searchfl='style=" background: #1E90FF;color: #FFF;"';
- }
- }else{
- if (k==0){
- searchfl='style=" background: #1E90FF;color: #FFF;"';
- GM_setValue('searchfl', k);
- }
- }
- $('.search-engine-head').append('<strong class="search-engine-tit" '+ searchfl+' >'+GM_getValue('sodata')[k].name+'</strong> ');
-
- }
-
- }else{
- $('.search-engine-head').append('<strong class="search-engine-tit">'+searchData.name+'</strong> ');
- }
-
-
-
- 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('<li><span style="background:url(\'' + searchData.data[i].img + '\');background-size:20px 20px;background-repeat:no-repeat;border-radius: 50%;"/></span>' +
- searchData.data[i].name + "</li>")
- }
-
- 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('<li><span style="background:url(\'' + searchData.data[i].img + '\');background-size:20px 20px;background-repeat:no-repeat;border-radius: 50%;"/></span>' +
- searchData.data[i].name + "</li>")
- }
-
-
- });
- $("#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;
- }
- });
-
-
-
-
-
- }
-
-
- })();