Greasy Fork is available in English.

Google Referer

Redirect google to HongKong domain

// ==UserScript==
// @name         Google Referer
// @namespace    http://tampermonkey.net/
// @version      2024.02.09.1
// @description  Redirect google to HongKong domain
// @author       Dynesshely
// @license      AGPL
// @match        https://*.google.com*
// @icon         https://img.catrol.cn/avatar/avatar-head-only.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    const url = new URL(window.location.href);

    if (url.search == '') {
        window.location.href = "https://www.google.com.hk/";
        return;
    }

    var query = url.searchParams.get('q');

    window.location.href = "https://www.google.com.hk/?q=" + query;
})();