Greasy Fork is available in English.

替换V2EX搜索

Search V2EX by https://www.sov2ex.com

// ==UserScript==
// @name         替换V2EX搜索
// @namespace    https://www.v2ex.com
// @version      0.0.1
// @description  Search V2EX by https://www.sov2ex.com
// @author       Abinnz
// @match        https://www.v2ex.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    $("form").each(function(){
        var action = $(this).attr("action");
        if(action.indexOf("google") !== -1) {
            $(this).attr("action", "https://www.sov2ex.com");
            $(this).removeAttr("onsubmit");
        }
    });

})();