Skip to content

Instantly share code, notes, and snippets.

View Desolace's full-sized avatar

Brandon Sargent Desolace

View GitHub Profile
@Desolace
Desolace / gist:f0ac2fc85e9457db10c652d49065bb8e
Created December 10, 2016 09:04 — forked from tobek/get-image-urls.js
Save images from chrome inspector network tab
/* right click on an entry in the network log, select Copy All as Har
* type in console: x = [paste]
* paste the following JS code into the console
* copy the output, paste into a file
* then wget -i [that file]
*/
(function(logObj, mime) {
var results = [];
logObj.log.entries.forEach(function (entry) {
if (mime && entry.response.content.mimeType !== mime) return;