A "side by side, local vs live" bookmarklet


Drag this guy into your browser's bookmarks toolbar:

SplitFrame (Or, hey!, try it on this page!)


When clicked, on your site, it will ask for two strings:

Needle Part of the site's development URL that is specific to it and not its live counterpart
Replacement What replaces the aforementioned needle on the live site

Example: A site that is locally tested on http://dev.fubar.com/ but publicly exists as http://www.fubar.com/ would have its needle as dev. and its replacement as www..

The needle and its replacement are saved in your browser and will pre-fill their prompts on SplitFrame's next run.


Fork me on GitHub