指鼠为鸭

这个世界上不再有鼠鼠,全是鸭鸭!

// ==UserScript==
// @name         指鼠为鸭
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  这个世界上不再有鼠鼠,全是鸭鸭!
// @author       HowardZhangdqs
// @match        https://*.bing.com/search?*
// @match        https://www.baidu.com/s?*
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMAUExURf3+/u7m3/v6+Ovi2+bZ0puDff7+/v39/ePTxvv8+9G3qL2mn+rh3rCVi9WceMqNa+HPwObWyOve0ujZzOzQtubb1/Pq4qx3Xu/k4dKefrCZlL2AWujd093KvtzJuO/k2+jg2ujaz+/o5Pj18ffw5+vNsZt5a6aLgIlkW6KFfLuqptnOzY1zcOGxjOCRfOzl43dhVuSwieazhtqdcbN7X/Tv6t3GtcKBVfPl0+zh19y6ocuPYrd3UNSrkciKXtGeddKoiO/ezdXEu+7Yw7icj7KEaeTTz4twYcWysbuil8SdhNyZa5N6b5JsY5N2bc67tPjz7ezW08J7Ueq+lemygMCBYdOVbOu3iO7Wu39cVtuqiW9dV+W/vd+xsJRmWrVrTvDKp6FsWuHLufPx7/n39NjAsNSxmuXYze/t7N3X1+bj4+/byKuRh8SWe8eDVn9iXtu3mcmMYefBotu/qPXr3PDIxqWSj5h4dZ1+dmdMRp+NitjGvOOtgseKZeO2kaOGd+a8mMOMa+3e2eWtfbp3U7iinVtQT9+mfOaqesGIaXNhW9ysj8yGY3JdUcd+V+zGnNqdfuGicu/DmNqlgoNrY4pfWMZ5UM+OaK+KdPPt59zDrNPMzM2qksCijteylOK+otW5osyab8nBwH9raYJwcbuOcMyyncOllphoRvLRzmlSUJqBdeC4mvHHwdGmoOTDpr+Ykuy7jXRORdaRZeSbjqCKgn1QPzY5Rb6vrunJrevQy5VeS3hxeZpqUbiCaO3AouCie9+5udx6eYt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JXnWq9teUauX20NbW9ndxWb6cKxWoQFhGkWMGA5OFc9J1F3efHBdNXm4tqVZe9QpeTxeuWwIcwoIcHLKuDCkWqlZ3Vj9w95GS8vTg5ubl9ZuylVd97rIFBfMKiq1sxRkCnNfPeWnQ5u6jvpXbgzunwq9ylcGT566PpIPy8qztasUZSiIKvNQMugw0WVm1tFgrfCMrnz7ctvfeCmk7u0JzmxYbBuFir6WuvdFd9ZplO6TK1TQ0D25Yt46La1nuQnt7c3NzGwb/31OmqLn3Rvuwlu3gZX2sHli6sjSwiUVWrniWw8JCa2sGFk/Wrugugza/+latKtb6XSvXrl0rISEhk84ht2Ceg70kAH7UIyDgWb/MAAAAAElFTkSuQmCC
// @grant        none
// @license      WTFPL
// ==/UserScript==

(function() {
    'use strict';

    // 需要替换的内容
    const replace_ls = {
        '鸭脖': /老鼠|鼠鼠/g,
        '鸭': /鼠/g,
    };

    // Get all DOM tags on the webpage
    var tags = document.querySelectorAll('body');

    // Loop through all DOM tags
    for (var i = 0; i < tags.length; i++) {
        // Get the innerHTML of the current tag
        var html = tags[i].innerHTML;

        // Replace all occurrences of "老鼠" with "鸭脖"
        for (let i in replace_ls)
            html = html.replace(replace_ls[i], i);

        // Set the new innerHTML of the current tag
        tags[i].innerHTML = html;
    }

})();