Copy this bookmark:



description:


tags:



bookmark detail

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.

javascript:(function(domain)%7Bvar%20url=window.location.href.split('/');url%5B2%5D=domain;url=url.join('/');window.open(url);%7D)('localhost:8080')
javascript  bookmarklet  tools 
march 2017 by rmateu
view in context