Last active
October 2, 2017 22:48
-
-
Save ondravondra/ca78f979c65dbe654d55efde392504fa to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
<body> | |
<p>This is a custom pre-chat form hosted on GitHub.</p> | |
<p><input id="clickMe" type="button" value="Click here, casul"></input></p> | |
<script type="text/javascript"> | |
document.getElementById('clickMe').addEventListener('click', function() { | |
window.parent.postMessage({type:"ENQUEUE"},"*"); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment