Skip to content
项目

关于

Demonstrates Chrome/Firefox/Safari download 1GB favicons

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Favicon Download Bug

This repository demonstrates that browsers will download huge favicon and touch-icon files to the point that they crash and/or bring the computer to a halt - all in the background with no indication to the user that any form of download or networking is happening.

(no spinner)

I originally tested this with Chrome. People have pointed Firefox and Safari do this too, IE does not appear to be affected.

Chrome bug 500639 Firefox bug 1174811 (fixed)

This is what it looks like before crashing on my computer (currently testing on travel laptop with 4gb ram):

Inspired by a tweet by a_de_pasquale.

Running it

  1. Install io.js (NodeJS works too)
  2. Run: node exploit.js
  3. Test your browser by visiting http://localhost:3000 (or if you have process.env.PORT set then that port)

Running it for Apple Touch Icon

  1. Install io.js (NodeJS works too)
  2. Run: node exploit-ios.js
  3. Test on iOS by visiting http://ip-of-computer:3000 and tapping on the share icon (or if you have process.env.PORT set then that port)

探索相关项目

加载中…