Javascript 做个跳转界面
不算是成品,只是提供一个思路,学了location.repalce()
发现是分分钟的事情。
很简单的使用超时调用就搞定了。
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>You won't be able to get back here</title>
</head>
<body>
<p>Enjoy this page for a second, because you won't be coming back here.</p>
<script type="text/javascript">
setTimeout(function() {
location.replace("http://codesky.me");
}, 1000);
</script>
</body>
</html>