Skip to content

Instantly share code, notes, and snippets.

@0mg
Created February 15, 2010 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0mg/304386 to your computer and use it in GitHub Desktop.
Save 0mg/304386 to your computer and use it in GitHub Desktop.
ランダムひらがな 140 字出力ブックマークレット
"ランダムなひらがな(未来語?)の文字列 140 字を吐き出すブックマークレットを 140 字以内で書く";
javascript:(function(s){s=s?s:"";s+=String.fromCharCode(Math.random()*82+12354);return s.length<140?arguments.callee(s):alert(s)})();
javascript:(function(s) {
s = s ? s : "";
s += String.fromCharCode(Math.random()*82+12354);
return s.length < 140 ? arguments.callee(s) : alert(s)
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment