Can't catch callback with JavaScript Interface on IE9, IE10 and IE11


#1

The following code was working on February 25 with Internet Explorer.
But now, it doesn’t work on IE9, IE10 and IE11. Would appreciate any assistance…
Thanks in advance.

<!DOCTYPE html>
<html>
  <head>
    <script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
  </head>
  <body>
    <a id="shareLink" href="https://twitter.com/intent/tweet">Tweet</a>
    <script>
      twttr.events.bind('tweet', function (event) {
        alert(event.target.src);
      });
      var myurl = "http://www.google.com";
      var mytext = "Text";
      var url = "https://twitter.com/intent/tweet" +
                "?url=" + encodeURIComponent(myurl) +
                "&text=" + encodeURIComponent(mytext);
      document.getElementById("shareLink").href = url;
    </script>
  </body>
</html>

#2