->*img-link

    @@ -1,8 +1,10 @@ /* - * @title open large images - * @description 画像へのリンクを抽出してポップアップにまとめて開きます(Firefoxなら名前を付けて保存も可) + * @title open images all + * @description open all image-link in new tab/window * @include http://* - * @license MIT License + * @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; @@ -10,10 +12,10 @@ var result = []; for(var i in links){ if(match.test(''+links[i])){ - result.push('<img src="'+links[i]+'">'); + result.push('<img src="'+links[i]+'" style="max-width: 100%;">'); } } var w=open('about:blank','_blank'); w&&w.document.write('<html><title>'+document.title+'</title><p>'+result.join('<br>')+'</html>'); w&&w.document.close(); -})(); +})();
  • /*
     * @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('<img src="'+links[i]+'" style="max-width: 100%;">');
    	}
    }
    var w=open('about:blank','_blank');
    w&&w.document.write('<html><title>'+document.title+'</title><p>'+result.join('<br>')+'</html>');
    w&&w.document.close();
    })();
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2016/01/22 04:57:56 - 2016-01-22
  2. 2016/01/16 07:08:28 - 2016-01-16
  3. 2013/06/24 01:45:18 - 2013-06-24
  4. 2013/06/13 05:28:12 - 2013-06-13
  5. 2013/06/13 05:12:53 - 2013-06-13
  6. 2013/06/13 05:11:13 - 2013-06-13
  7. 2013/06/11 18:54:26 - 2013-06-11
  8. 2013/06/11 18:31:11 - 2013-06-11
  9. 2013/06/11 07:59:03 - 2013-06-11
  10. 2013/06/11 07:51:44 - 2013-06-11