|
|
|
Show HN: Tampermonkey script that modify search result URLs for redirection
(github.com)
|
|
1 points
by miohat
885 days ago
|
|
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. |
|
Currently, the script supports 42 search engines in total:
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
The script also removes Yahoo redirection URL and extract the real URL of search results.
The script can not only used for redirection to privacy-oriented alternative frontends, it can be used for any URL modification tasks.
The advantage of this script is this can finish URL modification seamlessly after every search, and change the displayed URL correspondingly. It's much more intuitive and convenient.
You can find out all the URL modification rules (RegEx) I used here: https://github.com/domeniczz/URL-Modifier-for-Search-Engines...