via 浏览器,域名匹配谷歌,然后粘贴下面的 js 代码:
(function() {
'use strict';
var url = window.location.href;
if (url.indexOf('/search?') != -1 && url.indexOf('sina') == -1) {
url = url + '&as_eq=sina';
window.location.replace(url);
}
})();
kiwi 浏览器安装油猴扩展 tampermonkey,然后新建一个脚本,粘贴下面的代码:
// ==UserScript==
// @
name New Userscript
// @
run-at document-start
// @
include /^
https://www.google.*$/
// @
grant none
// ==/UserScript==
(function() {
'use strict';
var url = window.location.href;
if (url.indexOf('/search?') != -1 && url.indexOf('sina') == -1) {
url = url + '&as_eq=sina';
window.location.replace(url);
}
})();