TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How a web app can download and store over 2GB without you even knowing it

112 点作者 Nemmie大约 13 年前

4 条评论

sigil大约 13 年前
The fact that there's a limit is not surprising. That the limit is 2GB is a little surprising, but this is across all sites, so ok. That there's no cache ejection when you reach the limit just seems like a bug. Why not use LRU?
评论 #3753269 未加载
评论 #3753167 未加载
评论 #3753035 未加载
AlexV大约 13 年前
It would be fun to execute this against a mobile device, where storage is expensive. 2GB might be all that is required to choke the device. A neat client-side DDoS :)
评论 #3752979 未加载
评论 #3752800 未加载
评论 #3752780 未加载
评论 #3752795 未加载
notatoad大约 13 年前
&#62;As a user, I had no idea that the website I'm browsing is downloading a suspicious amount of data in the background.<p>not when you're browsing localhost, because it's implicitly trusted. chrome doesn't prompt you to allow access to the location services API when you're local either, but it does prompt for permission on the web. does the browser still not warn you if you try this same test using a remote server?
评论 #3753765 未加载
fl3x大约 13 年前
This is not an issue in either Opera or Firefox. The title should probably reflect that it's limited to Chrome (and possibly other Webkit browsers + IE?).
评论 #3752695 未加载