Created
July 3, 2014 01:48
-
-
Save attackant/c441840d6a0cae11d8e5 to your computer and use it in GitHub Desktop.
Add GET variable with JS. From https://stackoverflow.com/questions/20677974/bookmarklet-to-add-a-parameter-at-end-of-each-url
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; loc.indexOf("?") == -1 ? (location.href = loc+"?clearcache") : (location.href = loc+"&clearcache");})()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment