<html>
  <body>
    <script>
      var node = document.createElement("a");
      node.href = "http://www.mozilla.org";
      document.defaultView.getComputedStyle(node, "").color
    </script>
  </body>
</html>