This page should detect if you have an iPad or iPhone and store the version number in either the isIPhone or isIPad variable.

NOTE: If you don't use an iPhone or iPad to load the page you won't get an alert.

Get the code on GitHub →