Last active
December 7, 2015 18:54
-
-
Save jimthedev/990db918e962ef2f8768 to your computer and use it in GitHub Desktop.
Ionic2 page reload bookmarklet to toggle between ionic platforms
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:void((function(){var loc = location.href; var base = loc.split('?')[0]; loc.indexOf("?") == -1 || loc.indexOf("?ionicplatform=ios") > -1 ? (location.href = base+"?ionicplatform=android") : (location.href = base+"?ionicplatform=ios");})()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment