xss.html
19 hours ago in JavaScript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>XSS Test</title>
</head>
<body>
<script>
// This script will show an alert with the domain name
alert(window.location.hostname);
</script>
</body>
</html>