Last active
March 26, 2018 15:41
-
-
Save cianmce/774471fbcffd4e31a950fbffa9b9a4d0 to your computer and use it in GitHub Desktop.
Click "Raw" and replace "gist.githubusercontent.com" with "rawgit.com" and add "?msg=Some message" to the end
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
<html> | |
<script> | |
/* | |
Add GET param "msg" e.g. "?msg=Some message" | |
*/ | |
alert(decodeURI(location.href.split('?msg=')[1])); | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment