Created
July 27, 2012 03:03
-
-
Save deguchi/3185964 to your computer and use it in GitHub Desktop.
ローカル開発環境と本番サーバーを切り替えるbookmarklet(超適当)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var calil='calil.jp',local='127.0.0.1:8080',oldhost=calil,newhost=local;if(location.host!=calil){oldhost=local;newhost=calil;}location='http://'+newhost+location.pathname+location.search; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment