<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/ipod</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 07:05:13 GMT</pubDate>
<item>
<title>(JavaScript) Detect iOS devices and redirect - vaughanj</title>
<link>http://snipplr.com/view/70681/detect-ios-devices-and-redirect/</link>
<description><![CDATA[ <p>Detect if iPad / iPhone / iPod via the user agent and redirect to another page.</p> ]]></description>
<pubDate>Sat, 06 Apr 2013 01:01:17 GMT</pubDate>
<guid>http://snipplr.com/view/70681/detect-ios-devices-and-redirect/</guid>
</item>
<item>
<title>(JavaScript) Preventing elastic scrolling on iDevice - timothypwalter</title>
<link>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</link>
<description><![CDATA[ <p>If you a flick a web app past the bottom or top of the page, the page itself gets elastically tugged away from the URL bar or the button bar (or the bottom/top of the screen if it's in full-screen mode).

This behavior is another giveaway that your app isn't native, and it's rarely the behavior you want in a native app.

To stop this behavior, capture touchmove events on the document in JavaScript and cancel them. You can do this by adding a handler to the body tag, and invoking the preventDefault method on the event object:</p> ]]></description>
<pubDate>Thu, 02 Feb 2012 22:52:08 GMT</pubDate>
<guid>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</guid>
</item>
<item>
<title>(HTML) iOS Safari web clip icons. Home screen - beneberle</title>
<link>http://snipplr.com/view/62337/ios-safari-web-clip-icons-home-screen/</link>
<description><![CDATA[ <p>Create custom web clip icons or "app logos" in various sizes to be displayed (instead of the default site snapshot) when users save your site to their Home screens. Across Safari iOS devices. 

Add in the  in the same place you call your normal browser favicons.</p> ]]></description>
<pubDate>Fri, 06 Jan 2012 06:19:18 GMT</pubDate>
<guid>http://snipplr.com/view/62337/ios-safari-web-clip-icons-home-screen/</guid>
</item>
<item>
<title>(Objective C) Open URL - peruggia</title>
<link>http://snipplr.com/view/60457/open-url/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Nov 2011 00:18:08 GMT</pubDate>
<guid>http://snipplr.com/view/60457/open-url/</guid>
</item>
<item>
<title>(JavaScript) Detecting iPad/iPhone/iPod with javascript - parkarlsson</title>
<link>http://snipplr.com/view/55226/detecting-ipadiphoneipod-with-javascript/</link>
<description><![CDATA[ <p>A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.</p> ]]></description>
<pubDate>Tue, 14 Jun 2011 18:13:39 GMT</pubDate>
<guid>http://snipplr.com/view/55226/detecting-ipadiphoneipod-with-javascript/</guid>
</item>
<item>
<title>(CSS) Remove the default blue hyperlink from a telephone number when viewed on an iPhone - dubogii</title>
<link>http://snipplr.com/view/49866/remove-the-default-blue-hyperlink-from-a-telephone-number-when-viewed-on-an-iphone/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Mar 2011 18:13:53 GMT</pubDate>
<guid>http://snipplr.com/view/49866/remove-the-default-blue-hyperlink-from-a-telephone-number-when-viewed-on-an-iphone/</guid>
</item>
<item>
<title>(JavaScript) Detect iPhone/iPad, window resolution and setup CSS classes - HelloKit</title>
<link>http://snipplr.com/view/49210/detect-iphoneipad-window-resolution-and-setup-css-classes/</link>
<description><![CDATA[ <p>Also selects different sized header images for better image quality.</p> ]]></description>
<pubDate>Sat, 19 Feb 2011 03:15:26 GMT</pubDate>
<guid>http://snipplr.com/view/49210/detect-iphoneipad-window-resolution-and-setup-css-classes/</guid>
</item>
<item>
<title>(PHP) Simple User Agent (Mobile and Smartphone) Detection and Redirction with PHP - beneberle</title>
<link>http://snipplr.com/view/48763/simple-user-agent-mobile-and-smartphone-detection-and-redirction-with-php/</link>
<description><![CDATA[ <p>Though an old post, this is my solution that's been pieced together from various comments on the article linked above.</p> ]]></description>
<pubDate>Thu, 10 Feb 2011 16:02:41 GMT</pubDate>
<guid>http://snipplr.com/view/48763/simple-user-agent-mobile-and-smartphone-detection-and-redirction-with-php/</guid>
</item>
<item>
<title>(PHP) How to easily detect mobile devices - dropthenerd</title>
<link>http://snipplr.com/view/47549/how-to-easily-detect-mobile-devices/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Jan 2011 02:14:13 GMT</pubDate>
<guid>http://snipplr.com/view/47549/how-to-easily-detect-mobile-devices/</guid>
</item>
<item>
<title>(PHP) Detect touch - DADU</title>
<link>http://snipplr.com/view/46068/detect-touch/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 23 Dec 2010 10:18:07 GMT</pubDate>
<guid>http://snipplr.com/view/46068/detect-touch/</guid>
</item>
<item>
<title>(HTML) Mobile View - JohnGR</title>
<link>http://snipplr.com/view/41559/mobile-view/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 05 Oct 2010 16:29:53 GMT</pubDate>
<guid>http://snipplr.com/view/41559/mobile-view/</guid>
</item>
<item>
<title>(jQuery) JSCROLLPANE IPAD/IPHONE/IPOD/IOS SCROLL/ANDROID SUPPORT - Xeldar</title>
<link>http://snipplr.com/view/41254/jscrollpane-ipadiphoneipodios-scrollandroid-support/</link>
<description><![CDATA[ <p>From http://snipplr.com/view/41051/jscrollpane-ipadiphoneipodios-scoll-support/ here the part of code to add in jScrollPane.js for android,iphone,ipod,ipad support. Add this after :if (isScrollable) {  (around line 165)</p> ]]></description>
<pubDate>Fri, 01 Oct 2010 20:14:45 GMT</pubDate>
<guid>http://snipplr.com/view/41254/jscrollpane-ipadiphoneipodios-scrollandroid-support/</guid>
</item>
<item>
<title>(Objective C) Determine device (iPhone, iPod Touch) with iPhone SDK - espinallab</title>
<link>http://snipplr.com/view/38644/determine-device-iphone-ipod-touch-with-iphone-sdk/</link>
<description><![CDATA[ <p>Here is how to determine the device type.\r\n\r\nHow to use it.\r\n\r\nUIDeviceHardware *h=[[UIDeviceHardware alloc] init];\r\n[self setDeviceModel:[h platformString]];   \r\n[h release];</p> ]]></description>
<pubDate>Sat, 07 Aug 2010 00:08:15 GMT</pubDate>
<guid>http://snipplr.com/view/38644/determine-device-iphone-ipod-touch-with-iphone-sdk/</guid>
</item>
<item>
<title>(jQuery) Apple Device Detect - wanderlusts</title>
<link>http://snipplr.com/view/38604/apple-device-detect/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 06 Aug 2010 09:48:44 GMT</pubDate>
<guid>http://snipplr.com/view/38604/apple-device-detect/</guid>
</item>
<item>
<title>(ActionScript 3) getFilenameFromRequest - gfazioli</title>
<link>http://snipplr.com/view/37228/getfilenamefromrequest/</link>
<description><![CDATA[ <p>Get a filename part from a NSURLRequest. Optionally remove extension</p> ]]></description>
<pubDate>Wed, 14 Jul 2010 00:12:34 GMT</pubDate>
<guid>http://snipplr.com/view/37228/getfilenamefromrequest/</guid>
</item>
<item>
<title>(jQuery) iphone ipad ipod Detect - humanoid</title>
<link>http://snipplr.com/view/31607/iphone-ipad-ipod-detect/</link>
<description><![CDATA[ <p>execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load</p> ]]></description>
<pubDate>Tue, 13 Apr 2010 07:54:34 GMT</pubDate>
<guid>http://snipplr.com/view/31607/iphone-ipad-ipod-detect/</guid>
</item>
<item>
<title>(Python) Batch iPod Video Encoder - OtonVM</title>
<link>http://snipplr.com/view/26600/batch-ipod-video-encoder/</link>
<description><![CDATA[ <p>A simple python script for taking all files in the base dir and encoding them (and than removing them) into another folder. Handbrake, quality based, ipod nano compatible video, mac or windows.</p> ]]></description>
<pubDate>Sun, 17 Jan 2010 06:20:20 GMT</pubDate>
<guid>http://snipplr.com/view/26600/batch-ipod-video-encoder/</guid>
</item>
<item>
<title>(iPhone) Retrieve info of the now playing media item in iPod - funkypanda</title>
<link>http://snipplr.com/view/25068/retrieve-info-of-the-now-playing-media-item-in-ipod/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 19 Dec 2009 08:19:05 GMT</pubDate>
<guid>http://snipplr.com/view/25068/retrieve-info-of-the-now-playing-media-item-in-ipod/</guid>
</item>
<item>
<title>(JavaScript) How To Connect To A SOCKS Proxy From An Unjailbroken iPhone/iPod Touch - shaunchapman</title>
<link>http://snipplr.com/view/16563/how-to-connect-to-a-socks-proxy-from-an-unjailbroken-iphoneipod-touch/</link>
<description><![CDATA[ <p>Let's say, perhaps, that you are already forwarding your web traffic through an SSH/SOCKS tunnel at work (for privacy reasons that have absolutely no relation to accessing blocked sites LOL!) and you would like to use that same tunnel on your iPhone/iPod Touch.  This is actually pretty easy to accomplish.

First, you need to make sure the SOCKS tunnel on your work computer allows LAN connections so your iPhone/iPod Touch can connect to it.  To do this, you simply need to add `-g` to your existing SSH command (something like `ssh -N -g -D 1080 user@domain.com`).

Most people think you can't connect to a SOCKS proxy from an iPhone/iPod Touch without jailbreaking it but the truth is you can.  You simply have to create a Proxy Auto-Config (PAC) file, insert the function below in it (replace the *x*'s with your IP and the *y*'s with the port you used after the `-D` in your SSH command), and save it to a web accessible place with a *.pac* extension.  If you're reading this chances are you know how to serve a file over HTTP on your work LAN, so I won't delve into that.

Finally, on your iPhone/iPod Touch, go to *Settings > Wifi* and click the blue arrow to the right of your work network, scroll to the bottom, click *Auto* and type in the address to your PAC file (*e.g. http://192.168.xx.xx/mysupersecretproxy.pac*).

Congrats!  Now you can surf the web securely from your iPhone/iPod touch ;)</p> ]]></description>
<pubDate>Wed, 01 Jul 2009 13:51:50 GMT</pubDate>
<guid>http://snipplr.com/view/16563/how-to-connect-to-a-socks-proxy-from-an-unjailbroken-iphoneipod-touch/</guid>
</item>
<item>
<title>(JavaScript) iPhone/iPod Touch detection - Nanobyte</title>
<link>http://snipplr.com/view/15401/iphoneipod-touch-detection/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 May 2009 15:58:48 GMT</pubDate>
<guid>http://snipplr.com/view/15401/iphoneipod-touch-detection/</guid>
</item>
</channel>
</rss>