14 September 2012

A bookmarklet for jumping between dev and production

Here's a bookmarklet for jumping between different hosts while maintaining the same path. It’s really useful for navigating between the same pages on your development servers, staging servers, and productions servers.


I put the most useful text right at the end, so you can easily change it for any host you like! I have two variations of this bookmarklet in a folder in my bookmarks bar called “onLocal” and “onProd”.

If copy and paste isn’t your bag, then use this nifty tool to generate your own versions of the bookmarklet…

Enter a hostname and a title for your bookmarklet and drag the resulting link to your bookmarks bar:

Also, if you’d rather write your own bookmarklets, then give my bookmarklet generator a try.

comments powered by Disqus

Peter Coles

Peter Coles

is a software engineer who lives in NYC, works at Ringly, and blogs here.
More about Peter »

github · soundcloud · @lethys · rss

It’s time to get big money out of politics. Join the kick-started campaign to put government back in the hands of the people. Pledge mayday.us now