Redirector
As part of my work, I sometimes I need to redirect links to a local installation of a web app, so I can debug a particular issue.
For example, I might receive an email with a link to https://test.example.com/what/ever?thing=stuff
but I want to see what happens with the code running at http://localhost:3000/what/ever?thing=stuff
. For a while I’ve been copying the link, pasting it, manually editing it, and carrying on. But I thought there had to be a better way.
It turns out Einar Egilsson’s Redirector extension is a better way. Install it in your browser (Firefox is my daily driver) and add a redirect like so:
Include Pattern: https://test.example.com/*
Redirect to: http://localhost:3000/$1
So when the redirect is enabled, any links to https://test.example.com
will be redirected to localhost:3000
. Thank you, Einar!