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.1 KiB
42 lines
1.1 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1" >
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<title>Error</title>
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div>验证失败</div>
|
|
<div id="msg"
|
|
style="margin-top:10px;"></div>
|
|
|
|
<script>
|
|
function getQueryVar(variable) {
|
|
var query = decodeURI(window.location.search).substring(1)
|
|
var vars = query.split('&')
|
|
for (var i = 0; i < vars.length; i++) {
|
|
var pair = vars[i].split('=')
|
|
if (pair[0] === variable) {
|
|
return pair[1] === undefined || pair[1] === 'undefined' ? '' : pair[1]
|
|
}
|
|
}
|
|
return ''
|
|
}
|
|
|
|
var msg = getQueryVar('msg')
|
|
document.getElementById('msg').innerHTML = msg
|
|
|
|
setTimeout(() => {
|
|
alert(msg)
|
|
}, 500);
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|
|
|