<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: iPad Detection Using JavaScript or&#160;PHP</title> <atom:link href="http://davidwalsh.name/detect-ipad/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/detect-ipad</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 02:40:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Genesis</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-27791</link> <dc:creator>Genesis</dc:creator> <pubDate>Thu, 01 Dec 2011 04:37:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-27791</guid> <description>the php code is not working anymore.. :( help anyone?</description> <content:encoded><![CDATA[<p>the php code is not working anymore.. :( help anyone?</p> ]]></content:encoded> </item> <item><title>By: My Bookmarks &#171; Ruman&#039;s Blog</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-27663</link> <dc:creator>My Bookmarks &#171; Ruman&#039;s Blog</dc:creator> <pubDate>Fri, 18 Nov 2011 08:30:08 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-27663</guid> <description>[...] iPad Detection Using JavaScript or PHP [...]</description> <content:encoded><![CDATA[<p>[...] iPad Detection Using JavaScript or PHP [...]</p> ]]></content:encoded> </item> <item><title>By: Dobes</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-27582</link> <dc:creator>Dobes</dc:creator> <pubDate>Mon, 14 Nov 2011 01:01:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-27582</guid> <description>That is true in general, but in the case of the user-agent string for iPad it never puts iPad at the start of the string...</description> <content:encoded><![CDATA[<p>That is true in general, but in the case of the user-agent string for iPad it never puts iPad at the start of the string&#8230;</p> ]]></content:encoded> </item> <item><title>By: Richie</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-27126</link> <dc:creator>Richie</dc:creator> <pubDate>Tue, 04 Oct 2011 22:13:52 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-27126</guid> <description>A fourth method are ESI tags like:http://esi-examples.akamai.com/viewsource/ad.htmlThis is required when using a server side templating system that renders first before JavaScript</description> <content:encoded><![CDATA[<p>A fourth method are ESI tags like:</p><p><a
href="http://esi-examples.akamai.com/viewsource/ad.html" rel="nofollow">http://esi-examples.akamai.com/viewsource/ad.html</a></p><p>This is required when using a server side templating system that renders first before JavaScript</p> ]]></content:encoded> </item> <item><title>By: Windows User</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-26973</link> <dc:creator>Windows User</dc:creator> <pubDate>Sat, 24 Sep 2011 16:41:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-26973</guid> <description>&lt;code&gt; if (navigator.userAgent.indexOf(&#039;iPad&#039;) != -1)) {
document.location = &quot;automelt.html&quot;;&lt;/code&gt;</description> <content:encoded><![CDATA[<p><code> if (navigator.userAgent.indexOf('iPad') != -1)) {<br
/> document.location = "automelt.html";</code></p> ]]></content:encoded> </item> <item><title>By: Windows User</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-26972</link> <dc:creator>Windows User</dc:creator> <pubDate>Sat, 24 Sep 2011 16:39:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-26972</guid> <description>if (navigator.userAgent.indexOf(&#039;iPad&#039;) != -1)) {
document.task = &quot;selfdestruct.html&quot;;
}</description> <content:encoded><![CDATA[<p>if (navigator.userAgent.indexOf(&#8216;iPad&#8217;) != -1)) {<br
/> document.task = &#8220;selfdestruct.html&#8221;;<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Niche Modern</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-26663</link> <dc:creator>Niche Modern</dc:creator> <pubDate>Mon, 22 Aug 2011 21:44:45 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-26663</guid> <description>Just wanted to share this, since it pertains to the topic.Our hero image once clicked opens a pop-up/shadowbox image viewer (imaging provided by Adobe Scene 7) on our company website, but (non-Flash-i)Pads don&#039;t dig it. We use Miva Merchant as a part of our backend. The following code, using Miva Script, allows us to detect iPads and reveal a compatible viewer alternately:&lt;code&gt;-------- MOBILE USER AGENT ---------------- MOBILE S7 VIEWER --------
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;-------- MOBILE ENLARGE VIEWS BUTTON --------
&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
-------- NORMAL USER AGENT ---------------- PRODUCT IMAGE ---------------- ENLARGE VIEWS BUTTON --------
&lt;/code&gt;Essentially, if the site detects a mobile device, show the alternative viewer. Else, reveal the normal one.Thanks for the insight thus far.</description> <content:encoded><![CDATA[<p>Just wanted to share this, since it pertains to the topic.</p><p>Our hero image once clicked opens a pop-up/shadowbox image viewer (imaging provided by Adobe Scene 7) on our company website, but (non-Flash-i)Pads don&#8217;t dig it. We use Miva Merchant as a part of our backend. The following code, using Miva Script, allows us to detect iPads and reveal a compatible viewer alternately:</p><p><code></p><p> -------- MOBILE USER AGENT --------</p><p> -------- MOBILE S7 VIEWER --------<br
/> <a
href="#" rel="nofollow"></a></p><p> -------- MOBILE ENLARGE VIEWS BUTTON --------<br
/> <a
href="#" rel="nofollow"></a></p><p> -------- NORMAL USER AGENT --------</p><p> -------- PRODUCT IMAGE --------</p><p> -------- ENLARGE VIEWS BUTTON --------</p><p></code></p><p>Essentially, if the site detects a mobile device, show the alternative viewer. Else, reveal the normal one.</p><p>Thanks for the insight thus far.</p> ]]></content:encoded> </item> <item><title>By: Ant</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-26658</link> <dc:creator>Ant</dc:creator> <pubDate>Mon, 22 Aug 2011 18:42:52 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-26658</guid> <description>Anyone here had experience detecting iPad then providing a specific version of a video within the page to only thos ipad users, allowing for stack overflow to take care of other safari, ff, and ie users. The reason i need to do this is to overcome ipad 2&#039;s gamma problem when playing video. I need to provide a gamma adjusted version of the video just to ipad users (preferably just ipad2 but i dont think the user agent string is that specific?,Ideally just JS, and Im no JS wizard.Any help would be greatly appreciated.&lt;code&gt;
&lt;/a&gt;&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Anyone here had experience detecting iPad then providing a specific version of a video within the page to only thos ipad users, allowing for stack overflow to take care of other safari, ff, and ie users. The reason i need to do this is to overcome ipad 2&#8242;s gamma problem when playing video. I need to provide a gamma adjusted version of the video just to ipad users (preferably just ipad2 but i dont think the user agent string is that specific?,</p><p>Ideally just JS, and Im no JS wizard.</p><p>Any help would be greatly appreciated.</p><p><code></p><p></code></p> ]]></content:encoded> </item> <item><title>By: Sonesh</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-25789</link> <dc:creator>Sonesh</dc:creator> <pubDate>Thu, 07 Jul 2011 17:48:27 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-25789</guid> <description>Awesome post that I was looking for. Although a suggestion : the code with black background is hard to read i had to copy it and read it .Thanks again</description> <content:encoded><![CDATA[<p>Awesome post that I was looking for. Although a suggestion : the code with black background is hard to read i had to copy it and read it .</p><p>Thanks again</p> ]]></content:encoded> </item> <item><title>By: Sebastian</title><link>http://davidwalsh.name/detect-ipad/comment-page-1#comment-24250</link> <dc:creator>Sebastian</dc:creator> <pubDate>Fri, 27 May 2011 18:04:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4948#comment-24250</guid> <description>How about for ipad 2?</description> <content:encoded><![CDATA[<p>How about for ipad 2?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/19 queries in 0.022 seconds using disk: basic
Object Caching 866/871 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-08 23:59:59 -->
