リンクをすべて開く

    @@ -1,15 +1,14 @@ /** - * @title ページ内リンクをすべて開く + * @title リンクをすべて開く * @description ページ内のリンクをすべて開きます。 */ (function(i, j, k, l, m) { - l = k.length; - m = l + " links."; + m = (l = k.length) + " links."; while (i < l && (l == 1 || (i % j || (i ? confirm(i + " of " + m) : (j = prompt("There are " + m + "\nHow many links do you open at a time?", j < l ? j : l)))))) open(k[i++]) -})(0, 15, document.links) +})(0, 15, prompt("URLs to open", Array.prototype.join.call(document.links, " \n")).split(/\s+/))
  • /**
     * @title リンクをすべて開く
     * @description ページ内のリンクをすべて開きます。
     */
    
    (function(i, j, k, l, m) {
      m = (l = k.length) + " links.";
      while (i < l &&
             (l == 1 ||
              (i % j ||
               (i ? confirm(i + " of " + m)
                  : (j = prompt("There are " + m + "\nHow many links do you open at a time?", j < l ? j : l))))))
        open(k[i++])
    })(0, 15, prompt("URLs to open", Array.prototype.join.call(document.links, " \n")).split(/\s+/))
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/05/18 02:22:05 - 2011-05-18
  2. 2010/06/20 23:17:41 - 2010-06-20
  3. 2010/06/20 23:10:40 - 2010-06-20
  4. 2010/06/20 23:02:00 - 2010-06-20
  5. 2010/06/20 09:57:44 - 2010-06-20
  6. 2010/06/18 23:22:06 - 2010-06-18
  7. 2010/06/18 22:46:56 - 2010-06-18