<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Blank window</title> </head> <body> <script type="text/javascript"> window.opener.postMessage("{{ hash }}", "*"); window.close(); </script> </body> </html>