32

I'd like to know what precise version of Mobile Safari the iPad I'm using has. Is there any way to find out (preferably from the device itself)? There doesn't seem to be any menu in Safari Mobile, and thus none to choose "About" from. If you go to Settings | Safari, you see various useful things, but no "About" or "Version" or similar, which surprised me.

  • 1
    +1 good question. Apparently Safari does not support any of the about: pages en.wikipedia.org/wiki/About_URI_scheme – Thilo Nov 10 '11 at 4:53
  • @Thilo: But we should be kicking ourselves; it does, of course, support the javascript: pseudo-protocol. See Ross's answer. Doh!! – T.J. Crowder Feb 26 '14 at 15:47
7

Since Ross McNab's answer appears to no longer work...

Bookmark this (or any) page - then edit the bookmark - call it what you like, but change the url to...

javascript:alert(navigator.userAgent)

Now you can check your user agent any time you feel like conveniently from your bookmarks - thanks Apple!

Or if it's just a quick one-off check you want and you're connected to the 'net, do what T.J. originally posted.

  • 2
    This no longer works, as current versions of safari block javascript from being executed in the address bar. – r3wt Apr 27 '18 at 20:59
15

The only way I've found Ross McNab's way was much better but sadly no longer works (thanks, Apple); Billy Moon's way works but is a bit awkward for one-off checks.

Another way to do this is to use an external website (there are plenty to choose from, just search on "what's my browser"), which will report my user-agent string back to me.

So for instance, these sites will report back to me that my user-agent string is:

Mozilla/5.0 (iPad; U; CPU OS 4_3_5 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5

...from which I can tell that I'm using Mobile Safari 5.0.2.

  • I didn't even realize you were answering your own question, but to confirm: yes that would be the only way. You could condense a list of iOS versions and installed Mobile Safari and use that for reference, if no one else has done it already... – Gerry Nov 9 '11 at 16:45
  • @T.J.Crowder, you should probably accept your own answer - it's the best way of doing what you asked. – JW8 Nov 9 '11 at 23:39
8

You can get the userAgent string without visiting an external website, by typing the following in the Safari address bar (where you would normally type a URL):

javascript:alert(navigator.userAgent)

You must type it exactly as it appears here, matching case and punctuation.

An alert popup will appear with the full useragent string, which contains the version number of Safari and iOS.

  • What. Was. I. Thinking? Of course, the javascript: pseudo-protocol and navigator.userAgent. – T.J. Crowder Feb 26 '14 at 15:46
  • 4
    Sadly, this has stopped working, as noted by Billy Moon. Nowadays you have to create a bookmark, go back and edit it to change the location to the javascript:alert(navigator.userAgent) bit, and then follow the bookmark -- that still works. – T.J. Crowder Mar 3 '15 at 10:31
  • 2
    @Ross : I'm getting 'Cannot Run Script: Safari cant run the script because JavaScript is not alloed to be used this way' message..working on iOS 8.1.2 iPad mini – Jayprakash Dubey Mar 14 '15 at 5:44
6

None of the javascript answers worked for me. I found an easier way! There are several "what's my IP address?" pages out there, such as this one. These pages tell you your IP address and, in some cases, what your browser is, what your operating system is, and if your browser is up to date.

  • "None of the javascript answers worked for me" Huh? javascript:alert(navigator.userAgent) definitely works. – T.J. Crowder Jan 28 '15 at 7:35
  • 3
    @T.J.Crowder that js solution does not work for me on Mobile Safari 8 on iOS 8.1 - get Safari cannot run the script because JavaScript is not allowed to be used this way. but if I save a bookmark, and then edit the bookmark with that js solution, it works. – Billy Moon Mar 3 '15 at 10:20
  • 2
    @BillyMoon: And sadly, I can confirm this on iOS 8.1.2, apparently they've disallowed it. I suggest posting your bookmark workaround as an answer. – T.J. Crowder Mar 3 '15 at 10:30
1

You can visit http://spiderip.com to check the user agent and version of safari

  • 2
    Could you explain why this works, not just a link. Just goiving a link makes me think of viruses and trojans etc. – Mark May 9 '13 at 12:17
  • This works because on every request the browser send this information to the webserver. But usually you just do not see this and this webpage just "reflects" the information passed via the request. – user72693 Mar 11 '14 at 9:50
0

Handy alternative if you want to copy paste this info / you're already there: plug your iPad into your mac (assuming platform!) and in OSX Safari, remote debug the device, and copy the User Agent from the Resource Panel under Request Headers.

Enable remote debugging:

  • In OSX Safari’s Preferences pane under Advanced, check the Show Develop menu in the menu bar checkbox.
  • On iDevice: Settings > Safari > Advanced

http://moduscreate.com/enable-remote-web-inspector-in-ios-6/

  • 1
    Thanks for this. It took me a while to figure the Resource Panel is on the right edge of the screen (not the Resources tab). – akauppi Jul 24 '16 at 20:48
  • upvotes = love :) – ptim Jul 25 '16 at 1:53
  • Unfortunately, I still didn't get any precise versions this way. Just iOS 9.3.2 which I knew anyways. So while I enjoyed your answer, I'm not necessarily recommending it to others. Hope you understand. ,o – akauppi Jul 25 '16 at 11:14
-1

iOS users (like iPad, iPhone, iPod touch) can view Safari and WebKit versions by visiting "What is my user agent"

  • They can no longer, I'm afraid, since the given url now redirects to a whois query service. Use the link in John's answer instead or choose the bookmarked JS call as shown by TJ Crowder. – collapsar May 19 '17 at 11:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .