您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Switches Google search to verbatim, but allows you to turn it off later.
// ==UserScript== // @name Google Smart Verbatim Switch // @namespace https://github.com/sonofevil // @description Switches Google search to verbatim, but allows you to turn it off later. // @include http://www.google.*/webhp* // @include https://www.google.* // @include https://www.google.*/webhp* // @include https://www.google.* // @include https://encrypted.google.*/webhp* // @include https://www.google.com/?gws_rd=ssl // @version 0.1 // @run-at document-start // // ==/UserScript== (function () { // Only enable when Google.com is freshly loaded through normal means. if (window.location.href.indexOf("tbs=li:1") == -1){ if (window.location.href.indexOf("source=") == -1){ if (window.location.href.indexOf("sclient=") == -1){ //use verbatim if (window.location.href.indexOf("q=") == -1){ window.location+="?tbs=li:1"; } else { window.location+="&tbs=li:1"; }; }; }; }; })();