Always google dot com

Find and replace Google DOT Country-TLD to Google DOT com

目前为 2016-04-16 提交的版本。查看 最新版本

// ==UserScript==
// @name        Always google dot com
// @description Find and replace Google DOT Country-TLD to Google DOT com
// @namespace   https://greasyfork.org/en/users/2871-spacedingo
// @version     1.01
// @include     https://*.google.tld/*
// @exclude     https://*.google.com/*
// @exclude     https://*.google.org/*
// @exclude     https://google.com/maps*
// @grant       none
// @run-at      document-start
// ==/UserScript==
window.location.replace(window.location.toString().replace(/^(https?:\/\/\w+\.google\.).*?(\/.*)/, "$1com$2"));