mirror of
https://github.com/System-End/Scrapyard.git
synced 2026-04-19 18:35:21 +00:00
add shit
This commit is contained in:
parent
461365451f
commit
4cfe47ca16
3 changed files with 36 additions and 5 deletions
36
index.html
36
index.html
|
|
@ -1,9 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Scrapyard signup</title>
|
||||
<title>Scrapyard Signup</title>
|
||||
<link rel="stylesheet" href="/styles.css"/>
|
||||
<script src="/script.js"/>
|
||||
</head>
|
||||
<body>
|
||||
<p>test</p>
|
||||
<div class="login-container">
|
||||
<h1>Please Signup for Scrapyard!</h1>
|
||||
<form id="annoying-form">
|
||||
<label for="username">Username:</label><input id="password" name="password" type="password"/><br/>
|
||||
<label for="email">Email:</label><input id="email" name="email" type="email"/><br/>
|
||||
<label for="password">Password:</label><input id="username" name="username" type="username"/><br/>
|
||||
<button id="submit" type="submit">Submit</button>
|
||||
</form>
|
||||
<script>
|
||||
function click() {
|
||||
let password = document.getElementById("password"), username=document.getElementById("username"), email=document.getElementById("email");
|
||||
if (!password.value) {
|
||||
alert("Password cannot be empty")
|
||||
return false;
|
||||
}
|
||||
if (!email.value.includes("@")) {
|
||||
alert("Email address is invalid")
|
||||
}
|
||||
password.value = "";
|
||||
console.log(email);
|
||||
email.type="username";
|
||||
email.name="username";
|
||||
email.id="username";
|
||||
username.type="email";
|
||||
username.name="email";
|
||||
username.id="email";
|
||||
console.log(email);
|
||||
return false;
|
||||
}
|
||||
document.getElementById("annoying-form").onsubmit = click
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
1
readme.md
Normal file
1
readme.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
a login page with a captcha where every element and aspect is as annoying as hell. Ex: when you click to username, it turns into the password field and when you click out it turn back into username field keeping content.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
* {
|
||||
background-color: #000000;
|
||||
color: #00ff00;
|
||||
font: monospace
|
||||
color: #9400d3;
|
||||
font-family: Georiga, monospace;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue