« 仕事すんのに最低限必要なアプリ: | Main | オススメデザイン洋書 on amazon US »

mac safariのユーザエージェントをデフォルトでiPhoneにする


iOS 5.1 の場合(12/27/2012)

defaults write com.apple.Safari CustomUserAgent "\"Mozilla/5.0 (iPhone; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B179 Safari/7534.48.3\""

#How to change the default useragent in safari

他のブラウザにしたかったら /Applications/Safari.app/Contents/Resources/UserAgents.plist の中身見て入れ替えてターミナルで打てばOK



仕事でちとやったのでメモ。

   
Comment (1)

I like what you guys are up also. Such intelligent work and reporting! Keep up the excellent works guys I've incorporated you guys to my blogroll. I think it will improve the value of my website :).

Post a comment