Google自动跳转

自动跳转到google.com

// ==UserScript==
// @name         Google自动跳转
// @author       skyrocketing Hong
// @version      1.1
// @include      /^https?\:\/\/[^\/]+\.google\.com\.[^\/]+/
// @description  自动跳转到google.com
// @namespace https://greasyfork.org/users/601237
// ==/UserScript==

location.replace(
	location.href.replace(/\:\/\/[^\/]+\.google\.com\.[^\/]+/, '://google.com')
)