URI Escape

  • /*
     * @title URI Escape
     * @description via http://blog.livedoor.jp/dankogai/archives/50671193.html
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    
    void(
      prompt('%',
        (
          function(s){
            return s.replace(/./g,function(m){
              return '%'+m.charCodeAt(0).toString(16)
            })
          }
        )(prompt('C', ''))
      )
    )
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2010/05/16 00:38:47 - 2010-05-16
  2. 2010/05/16 00:34:01 - 2010-05-16