URL Surgeon
URL Surgeon is a useful tool for developers trying to debug routing issues in their projects.
Built using WXT.
URL Surgeon is an answer to a very specific problem that I feel like nobody else in the world actually has. I needed an extension to replace a slug in a URL with a different one, and I couldn't find one that worked in my specific workflow. So I built one. Naturally.
One thing that URL Surgeon does differently to other extensions is that it uses the Declarative Net Request API. This means that I didn't need to code an extensive javascript snippet to handle the URL rewriting/redirection, and instead could rely on the browser to handle it for me. This means that the extension is more performant than other extensions that do a similar job.
BUT
Because it uses the declarative net request API, it's not possible to use the extension for dynamic URL rewriting, such as in a web app where navigation is handled client-side. This is a limitation of the API, and not a limitation of the extension itself.
