/ Published in: JavaScript
Use twice if doesn't work at first
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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"); });