JavaScript in the Browser

Cross-Site Scripting

<html>
  <head><title>Hello</title></head>
  <body>
<script>
var name = decodeURIComponent(window.location.search.substring(6)) || "";
document.write("Hello " + name);
</script>
</body>

José M. Vidal .

8 of 66