Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Hola mundo</h1>
- <p>....</p>
- <button onclick="sendToken()">SENDD!!</button>
- <script>
- var MAGLE_SERVER_URL = "http://localhost:3300";
- function sendToken (){
- console.log("SENDING MESSAGE");
- parent.postMessage("Hello","http://localhost:3300");
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement