This is a javascript bookmarklet that toggles your current domain between a product and local development URL.
For example:
https://example.com/some/path?key=value
Becomes:
http://example.dev/some/path?key=value
- Select the line starting with
javascript:
from the "dist.js" file and copy it - Create a new bookmark in your bookmark bar (or duplicate an existing one).
- Right click on the bookmark in your bookmark bar to Edit it.
- Paste the
javascript:
line in to replace the URL of the bookmark - Profit!