Commit Graph
3 Commits
Author SHA1 Message Date
David Roberts bdf4225dec Clean up web interface storage tab.
- Use diffing algorithm so you can select text and images.
	- This uses textcontent, plugs a vulnerability where you could inject arbitrary javascript if you could upload a modded item with html in the name, eg, "iron-plate<img src=\"\" onerror=\"console.log('hi')\">".
- Fall back to transparent png if item image not found.
	- This stops the flashing box when the image does not exist.
- (internal) Simplify `sortByKey(array, key)`.
2017-08-29 13:25:15 -07:00
Danielv123 53af3849cc Fix ddosing wiki.factorio.com with 404 picture requests 2017-07-11 13:10:58 +02:00
Danielv123 bd5956c9ed Add mod icons by link 2017-03-16 17:55:15 +01:00