Last active
December 18, 2015 19:49
-
-
Save P233/5835561 to your computer and use it in GitHub Desktop.
Symphony CMS debug 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:(function() { | |
var link = location.toString(); | |
if (link.slice(-6) != "?debug") { | |
location.href = link + "?debug"; | |
} else { | |
location.href = link.substring(0,link.length-6); | |
} | |
})(); | |
// minified | |
javascript:(function(){var%20e=location.toString();if(e.slice(-6)!="?debug"){location.href=e+"?debug"}else{location.href=e.substring(0,e.length-6)}})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment