首页
Recently, I'm playing with javascript and complete a tampermonkey script with the help of ChatGPT. I got inspiration from the browser plugin 'Redirector'. It's just a personal hobby mini-project which might contains some glitches. Currently, the script supports Google, Yandex, SearXNG, StartPage, Brave, DuckDuckGo, Qwant, Ecosia, Swisscows, Metager, 4get, Stract, eTools, Mojeek, Yep, Torry. And there're a bunch of built-in regex redirection rules in the script. I'm looking forward for advices on improving the script, regarding performance, code structure etc.

1 comment

miohat超过 1 年前
I&#x27;ve add support for a bunch of other search engines.<p>Currently, the script supports 42 search engines in total:<p>Google, Yahoo, Yahoo Japan, Yandex, SearXNG, StartPage, Brave, DuckDuckGo, Ghostery, Presearch, Metager, 4get, LibreY, Stract, eTools, Mojeek, Yep, Torry, Qwant, Ecosia, Oscobo, GOOD, All the internet, AOL, Info, OceanHero, Swisscows, Lilo, Entireweb, GMX, YouCare, Murena Spot, Nona, Exalead, Seznam, Gibiru, Lukol, GiveWater, Excite, WebCrawler, MetaCrawler, Dogpile<p>The script also removes Yahoo redirection URL and extract the real URL of search results.<p>The script can not only used for redirection to privacy-oriented alternative frontends, it can be used for any URL modification tasks.<p>The advantage of this script is this can finish URL modification seamlessly after every search, and change the displayed URL correspondingly. It&#x27;s much more intuitive and convenient.<p>You can find out all the URL modification rules (RegEx) I used here: <a href="https:&#x2F;&#x2F;github.com&#x2F;domeniczz&#x2F;URL-Modifier-for-Search-Engines&#x2F;blob&#x2F;master&#x2F;regexs.txt">https:&#x2F;&#x2F;github.com&#x2F;domeniczz&#x2F;URL-Modifier-for-Search-Engines...</a>