Skip to content

Instantly share code, notes, and snippets.

Eric Mink lucidBrot

Block or report user

Report or block lucidBrot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lucidBrot
lucidBrot / iPhone11,8 17C5053a sepi
Created Dec 10, 2019
iPhone11,8 17C5053a sepi repost
View iPhone11,8 17C5053a sepi
Since the original tweet by @s1guza was taken down as a "copyright violation"™
iPhone11,8 17C5053a sepi 9f974f1788e615700fec73006cc2e6b533b0c6c2b8cf653bdbd347bc1897bdd66b11815f036e94c951250c4dda916c00
@lucidBrot
lucidBrot / bookmarklet_image_dwl.js
Last active Nov 17, 2019
Bookmarklet to download all images on a page
View bookmarklet_image_dwl.js
// as one-liner for bookmarklet
javascript:;(function(){var images=[].slice.call(document.querySelectorAll('img'));try{images.forEach(function(img){downloadResource(img.src)})}catch(e){alert("Download failed.");console.log('Download failed.',e)}function forceDownload(blob,filename){var a=document.createElement('a');a.download=filename;a.href=blob;a.click()}function downloadResource(url,filename){if(!filename)filename=url.split('\\').pop().split('/').pop();fetch(url,{headers:new Headers({'Origin':location.origin}),mode:'cors'}).then(response=>response.blob()).then(blob=>{let blobUrl=window.URL.createObjectURL(blob);forceDownload(blobUrl,filename)}).catch(e=>console.error(e))}}).call(window);
View keybase.md

Keybase proof

I hereby claim:

  • I am lucidbrot on github.
  • I am lucidbrot (https://keybase.io/lucidbrot) on keybase.
  • I have a public key whose fingerprint is FC5A D891 70DD 132A CB34 3EFE 88C9 76AE F1B5 687B

To claim this, I am signing this object:

You can’t perform that action at this time.