<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>新建网页</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="布尔教育 http://www.itbool.com" /> <script> /* window.alert('haha'); window.confirm('你确定要关闭吗?'); console.log(window.navigator.cookieEnabled); //true */ console.log(window.history); /* console.log(window.screen.width); console.log(window.screen.height); alert(window.document); //dom大对象 */ </script> </head> <body> <input type = "button" value = "前进" onclick = "javascript.window.history.forward();"/> <input type = "button" value = "后退" onclick = "javascript.window.history.back();"/> </body> </html>

我的微信
这是我的微信扫一扫