Posted By

roeltz on 01/17/11


Tagged


Versions (?)

Bookmarklet to open pictures in epic thread


 / Published in: JavaScript
 

Use twice if doesn't work at first

  1. javascript:var stag = document.createElement("script"); stag.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"; document.body.appendChild(stag);$("a[target='_blank'] img").each(function(){ var url = this.parentNode.href; if(/^http:\/\/images.4chan.org/.test(url)) open(url, "_blank"); });

Report this snippet  

You need to login to post a comment.