HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
einaregilsson
Redirector
JavaScript2016–2026
einaregilsson / Redirector

Redirector

Browser extension (Firefox, Chrome, Opera, Edge) to redirect urls based on regex patterns, like a client side mod_rewrite.

21Distinct people
25Mentions
0Explicit recommenders
2.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Browser extension (Firefox, Chrome, Opera, Edge) to redirect urls based on regex patterns, like a client side mod_rewrite.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year25 dated mentions

Observed mentions: 2016-07-10 07:35:57 UTC to 2026-10-29 22:23:53 UTC.

02462016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 6 mentions; 1 submissions, 5 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC202
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC615
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC505
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC404
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC211
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC505

What Hacker News says

25 sources
As another option, I use the Redirector browser add-on to automatically take me from /shorts/{videoid} to /watch?v=$1. Its amazing how manipulative the shorts interface is because if you're not in it, the temptation is SO massively reduced. Shows how much money they obviously spent on psych profiling for shorts to get that first click. We are just meat puppets to them. Ref: https://github.com/einaregilsson/Redirector
In Everyone's Packing Up
Using the addon Redirector [0] (R.I.P. Einar Egilsson [1]), a set of rules to autoforward links to "privacy aware" (is this different from "privacy-respecting"??) frontends. Also available @ https://codeberg.org/duyfken/RedirectorPrivacyAlternatives Uses updated info previously shared on HN and elsewhere, see https://news.ycombinator.com/item?id=47191719 This is also a lower-scale alternative to LibRedirect, containing one option it does not in its default config-- a non-dead way to redirect Instagram links. [0] https://github.com/einaregilsson/Redirector - has links to addon sites [1] https://github.com/einaregilsson/Redirector/issues/329
In Redirector Privacy Alternatives: forward links to privacy aware front ends
I doubt you could do this at the DNS level. Reddit probably loads static assets from `reddit.com`. You could perhaps intercept the HTTP requests, but that would require decrypting SSL, so you'd have to MITM yourself if you wanted to do it at the network level. You'd replace the DNS request for `reddit.com` to some device that intercepts the traffic. That device would redirect the HTTP request to `old.reddit.com` if applicable; static assets would be routed to `reddit.com`. I don't know how things like HSTS and certificate pinning fit into an idea like this. Doing this at the device level is probably easiest. I've used Redirector [0] in the past and it works well. [0]: https://github.com/einaregilsson/Redirector
In Ask HN: What is the current (Apr. 2024) gold standard of running an LLM locally?
I don't mean to just blanket shit on Teams, but Teams is just a confusing mess of UI choices and UX design that makes no sense even within the context of using Teams. The meeting icons are of course pretty awful as you cited, but it's even more things for me [0]: - When joining a Teams call, the toggle for video gets "selected" so that pressing Return or spacebar (I think one or both) will toggle the video on -- noticing that you did this or that the video toggle is selected is a matter of chance as it's hard to see - For some bizarre reason Teams has a "start call" shortcut that just immediately starts a call without the usual pre-call warning items. Joining a meeting from your calendar gives you a "pre-meeting room" where you can confirm your mic/video settings before joining, but hitting the call shortcut or button immediately starts a
Read the rest
call - Sometimes right-click menu loads slowly and additional options load after you right-click and move the mouse -- it so happens this will usually put the cursor on Pinning the message instead of selecting reply or edit - Regarding Reply/Edit, there is a nice button to jump right to both, but for chats one button is showed, for private messages another is shown - All teams messages are linkable; whether or not you right-clicked on a link in the message and are copying the link or if you're getting a link to the message itself depends on if you happen to notice whether you have 2 options on right-click or 3+ options - Copying a linked item (e.g., document, media, picture) will have Download or Copy Link button. Copy link for some reason puts up a text box across the conversation you're having that is dismissible with escape or clicking usual x in box corner -- other "copy link" options just copy the link normally, other ones (like copying channel link) will open a window with the link for you to copy - it is huge pain for me personally that the links you copy from Teams are Sharepoint links and pasting it in a browser tries to open files in Sharepoint browser, even if Sharepoint absolutely cannot display a preview of the file: you sit while Sharepoint tries to load a preview, and only after a few seconds of Sharepoint trying does it show you a download button to get the file (thankfully there are browser extensions like Redirector [1] which can be used to create redirects for auto-downloads...just Microsoft likes to change the URL for actual downloads relatively often so occasionally you need to update your redirects..) Teams is so inconsistent and the UI and UX are equally inconsistent -- Teams is also not shy about showing tutorial prompts for features just whenever it wants to, no matter how long you've been using Teams, sometimes it will just block the entire app to highlight some feature it wants to advertise. I honestly don't think this or anything has to do with flat UI versus other ones, it's just plain lack of attention. maybe flat ui's give the impression of a "completed" thing, but I just can't see that most of the UI/UX issues for apps like Teams are about the aesthetic so much as just a complete lack of concern over what actually using the app is like. 0 - All points here were observed on vanilla teams installations on different computers -- maybe my work just has weird defaults, but I'm not confident that is the case 1 - https://github.com/einaregilsson/Redirector
In Should toggle button show its current state or the state to which it'll change? (2010)
I'm not yet convinced Augmented Reality has proved its case for people and that AR is chasing big numbers and companies without showing what they would actually use it for every day. I will give Magic Leap some credit on their marketing for the article link in that they show some persons in non-office settings such as laboratories and what presumably are hospital settings. But for me what's missing is seeing it actually used productively by the persons or testimonial stories about how AR integrates into their workflow. People are resistant to change even within the face of pretty cool technology. I would position many people don't know what they want to improve their workflow and can only define such wants as complaints about the current workflow. That's my experience working with customers where they have a complaint but just don't know
Read the rest
what to search for to see if there's a solution. To show how I think this should work, when I add a new tool to my workflow usually I can pinpoint exactly what I don't like about something and I have specific terms that help me find it. For example, my org uses Teams, and Teams is unfortunately linked by the hip to Sharepoint which I cannot stand. There are many reasons for this, but the biggest issue is that Sharepoint tries to load everything in-browser, even if it cannot. Eventually it will show you a download link, and for the content I am working with, I don't want Sharepoint to try to load it, I just want to download the file and use the appropriate app to work with it. In business rules, I want all Sharepoint links to automatically convert to download links. Armed with this, I could search for browser extensions to redirect links to another link, and I found Redirector: https://github.com/einaregilsson/Redirector I cannot sing the praises of this tool enough, and it saves me tons of clicking and waiting by letting me write rules to handle specific link formations and redirect them to another. It was a perfect fit because I could _describe my annoyance_ and the preferred behavior, and armed with that, I could know whether a tool met my needs or not. This is what is missing for me with AR. As someone in tech, I can describe a ton of my issues with daily workflows quite easily. I can define my problems and how I prefer it works. What I can't see is how AR helps me. Like many, I imagine that persons like technicians, mechanics, anyone who needs their hands available to work on complex hardware/items might benefit from AR, but what I don't see are testimonials from these people that some AR company demoed their product with them and found a way to make their workflow better. I'm not a mechanic; I can do basics with cars or house-hold appliances, but I'm not a professional, and I imagine the AR companies out there aren't either. Why there aren't field tests with discussions and interviews with the proposed target audience for AR is beyond me. Instead I see people in offices on conference calls, I see random stock photos of people in lab outfits, and I see marketing copy telling me that AR is limited just by my imagination. Thing is I can imagine quite a lot, and I don't see proof AR can do any of it. If AR has a product ready for betas, this needs to be in the hands of people who might actually use it and developing case studies. The technology is interesting, I'm not denying that, but I want to read stories about actual use cases and testimony from someone who honestly feels "this made my life better." Until that happens, I'm not confident AR is going to take off in a meaningful way for work related purposes instead of recreational.
In Magic Leap 2

Showing the 15 most recent of 25 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.