Main image for Use Bookmarklets to Access the Same Web Page in Different Environments Time to Read: ~1 min

If you have several environments that you develop and test in, you may find it useful to create bookmarklets for frequently-accessed pages.

For example, let's say I have four environments: local, development, integration and testing. For each, I may want to easily get to one of six pages with a complex path, without having to navigate to that path. I could create six bookmarks for each environment, but who wants to create 24 bookmarks?

I can create a single bookmarklet, and use it to get to the corresponding path on the site I'm signed into. Here's the syntax (replace /path with the specific path you're bookmarking):

Once you have the bookmarklet in your browser, sign into the environment you're testing in, and then click the bookmarklet to jump to that path.

Want to find out how to add a bookmarklet to your browser? Type "add a bookmarklet to" into Google, and check the suggested search completions for the browser you're using.

Subscribe to Wanderfull

Did you enjoy this? Did it help you? Make you laugh? Dare I say, all of the above? If you like my work — my writing, distributed work tips, or drawing, you can get more every week. Subscribe below for my weekly Substack: Wanderfull!