<!DOCTYPE html>
<html>
  <head>
    <link rel="icon" href="data:,">
  </head>
  <body>
    <script>
      window.onload = function() {
        var file = document.getElementById("file")
        file.onchange = function() {
          file.parentElement.removeChild(file)
        }
      }
    </script>
    <input type="file" id="file">
  </body>
</html>
