You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
1.7 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WOW</title>
</head>
<body>
<h1>CECI EST UN AVERTISSEMENT</h1>
<p>NE CLIQUEZ SURTOUT PAS SUR LE BOUTON CI-DESSOUS</p>
<button class="first"
style="height: 50px; font-size: 20px; background-color: rgb(0, 255, 85); color: white;">CLIQUEZ ICI POUR VOIR
VOTRE CADEAU</button>
<script>
const button1 = document.querySelector('button.first');
button1.addEventListener('click', function () {
alert('PRANK hahaha, cliquez sur le bouton en bas de la page pour voir le vrai cadeau');
document.querySelector('body').innerHTML = '<button class ="second" style="position: fixed; bottom: 0; left: 0; width: 100%; height: 50px; font-size: 20px; background-color: red; color: white;">CLIQUEZ ICI POUR VOIR VOTRE VRAI CADEAU</button>';
const button2 = document.querySelector('button.second');
button2.addEventListener('click', function () {
document.querySelector('body').innerHTML = '<img src="./monkey.gif" style="width: 100%; height: 100%;">';
});
});
</script>
<ul>
<li><a href="/docs/">Documentss</a></li>
<li><a href="/img/">Images</a></li>
<li><a href="/index.php">php-cgi test</a></li>
</ul>
<form action="/" method="post" enctype="multipart/form-data">
<input type="text" name="description" value="form-data" />
<input type="file" name="myFile" />
<button type="submit">Submit</button>
</form>
<form action="/" method="post" enctype="application/x-www-form-urlencoded">
<input type="text" name="description" value="UrlEncode" />
<button type="submit">Submit</button>
</form>
</body>
</html>