snipt

Ctrl+h for KB shortcuts
#20893

Text only

Change Safari UserAgent to iPad

defaults write com.apple.Safari CustomUserAgent "\"Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10\""
https://snipt.net/embed/84c9b940b4b8ae9cbd8934ac70785531/
https://snipt.net/raw/84c9b940b4b8ae9cbd8934ac70785531/
84c9b940b4b8ae9cbd8934ac70785531
text
Text only
1
2014-04-16T12:03:13
True
False
/api/public/snipt/20893/
change-safari-useragent-to-ipad
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>defaults write com.apple.Safari CustomUserAgent &quot;\&quot;Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10\&quot;&quot; </span></pre></div> </td></tr></table>
apple