您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
向搜索结果中的百家号Say NO 本脚本并非从搜索结果删除百家号而是在搜索请求时表明无需baiji域名出现在结果 by:作死联萌 第一次写油猴脚本 XD
当前为
// ==UserScript== // @name 百度搜索去除百家号结果 // @namespace http://www.zslm.org // @version 0.2 // @description 向搜索结果中的百家号Say NO 本脚本并非从搜索结果删除百家号而是在搜索请求时表明无需baiji域名出现在结果 by:作死联萌 第一次写油猴脚本 XD // @author Genius6do // @match https://www.baidu.com/* // @match http://www.baidu.com/* // @run-at document-body // @grant none // ==/UserScript== (function() { 'use strict'; console.log("baidu_strat"); $("input[type='submit']").click(function(){ console.log("baidu_onclick"); var str_ = $("input[name='wd']").val(); if(str_.indexOf("-baijia") == -1 ){ $("input[name='wd']").val($("input[name='wd']").val()+" -baijia"); } }) console.log("baidu_stop"); })();