Changes the search icon href to search users on the current domain
当前为
// ==UserScript==
// @name nitter Change Search Icon Link
// @match *://nitter.net/*
// @match *://xcancel.com/*
// @match https://nitter.tiekoetter.com/*
// @description Changes the search icon href to search users on the current domain
// @version 0.0.1.20250722060504
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==
(function () {
const host = window.location.hostname;
const searchLink = document.querySelector('a.icon-search');
if (searchLink) {
searchLink.href = `https://${host}/search?f=users`;
}
})();