repl

  • /*
     * @title repl
     * @description read eval prompt loop
     * @include *
     * @contributor murky-satyr  http://let.hatelabo.jp/murky-satyr/let/gYC-xqPD5PjeTg (Fork of)
     * @license X
     * @javascript_url
     */
    (function(r,e,p,l){while(p=prompt(r,e))try{r=eval(e=p)}catch(l){r=l}}(location,(this.getSelection||eval)()||document.selection.createRange().text))
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/12/15 05:25:19 - 2014-12-15
  2. 2014/12/15 05:22:54 - 2014-12-15