いっしょにSatsuBatsu#2に参加していたid:hitode909がyharaボタンを作ってたので,それをSatsuBatsu#2の合間に適当に作ったsay.cgiとGreasemonkeyを使って再現してみた. 準備1: say.cgi Mac OS Xにはデフォルトでsayというコマンドが使える.このコマンドは, $ say hello とかやると,Macがしゃべってくれるので楽しい.これをJavaScriptから使えるようにするために,CGIでラップする.この記事の最後にソースコードをおいたので,それを保存して/Library/WebServer/CGI-Executablesにsay.cgiという名前で置く.say.cgiに実行権限を与えた後,http://localhost/cgi-bin/say.cgi?msg=hello&voice=Alex にアクセスするとMacがし