// ==UserScript== // @name 谷歌图片hk重定向 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 识图用,防止Google图片跳转到带有安全过滤的hk,也防止某些hk运营商会将图片重定向到cn // @author 青青 // @include http://www.google.com.hk/imghp* // @include https://www.google.com.hk/imghp* // @include http://www.google.cn/imghp* // @include https://www.google.cn/imghp* // @include http://www.google.com.hk/search* // @include https://www.google.com.hk/search* // @run-at document-start // @downloadURL none // ==/UserScript== document.location.href = document.location.href.replace('www.google.com.hk/imghp','www.google.com/imghp').replace('www.google.com.hk/search','www.google.com/search').replace('www.google.cn/imghp','www.google.com/imghp');