Currently hardcodes these domain pairs, tweak it for your use-case:
var urls = {prod: "http://www.mcgill.ca/study/2013-2014", dev: "http://amir-dev.tree.ewdev.ca"};
Activating the bookmarklet once on either site displays the same page side-by-side with its complement, as follows:
Activating the bookmarklet a second time redirects to the complementary page.
I use this bookmarklet as a http://backtick.io/ command, but you can simply paste the code into a bookmarklet.