https://bans.anita.gg/

提交的 URL:
https://bans.anita.gg/
报告完成时间:

链接 · 找到 0 个

从页面中识别出的传出链接

JavaScript 变量 · 找到 3 个

在页面窗口对象上加载的全局 JavaScript 变量是在函数外部声明的变量,可以从当前范围内的代码中的任何位置访问

名称类型
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject

控制台日志消息 · 找到 2 条

记录到 Web 控制台的消息

类型类别记录
verbosedom
URL
https://bans.anita.gg/
文本
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) %o
errornetwork
URL
https://bans.anita.gg/favicon.ico
文本
Failed to load resource: the server responded with a status of 404 ()

HTML

页面的原始 HTML 正文

<!DOCTYPE html><html><head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,minimum-scale=1">
		<title>Login</title>
		<link href="style.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css">
	</head>
	<body>
		<div class="login">
			<h1>Login</h1>
			<div class="links">
				<a href="index.php" class="active">Login</a>
				<a href="register.html">Register</a>
			</div>
			<form action="authenticate.php" method="post">
				<label for="username">
					<i class="fas fa-user"></i>
				</label>
				<input type="text" name="username" placeholder="Username" id="username" required="">
				<label for="password">
					<i class="fas fa-lock"></i>
				</label>
				<input type="password" name="password" placeholder="Password" id="password" required="">
				<label id="rememberme">
					<input type="checkbox" name="rememberme">Remember me
				</label>
				<div class="msg"></div>
				<input type="submit" value="Login">
			</form>
		</div>
		<script>
		document.querySelector('.login form').onsubmit = function(event) {
			event.preventDefault();
			var form_data = new FormData(document.querySelector('.login form'));
			var xhr = new XMLHttpRequest();
			xhr.open('POST', document.querySelector('.login form').action, true);
			xhr.onload = function () {
				if (this.responseText == "Success") {
					window.location.href = "home.php";
				} else {
					document.querySelector('.msg').innerHTML = this.responseText;
				}
			};
			xhr.send(form_data);
		};
		</script>
	

</body></html>