// ==UserScript== // @name Safari google 重定向 // @namespace http://tampermonkey.net/ // @version 0.1 // @description google cn 2 google hk // @author windherd // @include http://www.google.com.hk/* // @include https://www.google.hk/* // @include http://www.google.cn/* // @include https://www.google.cn/* // @run-at document-start // @license MIT // @downloadURL https://update.greasyfork.icu/scripts/457811/Safari%20google%20%E9%87%8D%E5%AE%9A%E5%90%91.user.js // @updateURL https://update.greasyfork.icu/scripts/457811/Safari%20google%20%E9%87%8D%E5%AE%9A%E5%90%91.meta.js // ==/UserScript== document.location.href = document.location.href.replace('www.google.cn','www.google.com.hk/');