/* * @title open images all * @description open all image-link in new tab/window * @include http://* * @contributor os0x http://let.hatelabo.jp/os0x/let/gYC-xpO93uu1BA (FOrk of) * @author noromanba * @license MIT License http://opensource.org/licenses/MIT */ (function(){ var links = document.links; var match = /\.(jpe?g|png|gif)(\?|$)/i; var result = []; for(var i in links){ if(match.test(''+links[i])){ result.push(''); } } var w=open('about:blank','_blank'); w&&w.document.write('
'+result.join('
')+'');
w&&w.document.close();
})();