Linked Questions

2 votes
1 answer
5k views

Possible Duplicate: Detect if device is iOS Here is what I want to do: <script type="text/javascript"> // Run This code if device is iOS based window.addEventListener('...
Ilja's user avatar
  • 46.8k
939 votes
47 answers
885k views

I made an HTML page that has an <input> tag with type="text". When I click on it using Safari on iPhone, the page becomes larger (auto zoom). Does anybody know how to disable this?
Eduardo Montenegro's user avatar
292 votes
12 answers
388k views

I've done some research, and this question has come up, but not in the way I intend. I'm building a page for a client that is a QR code landing, which is a place to download an application. So he ...
Alexander's user avatar
  • 4,269
192 votes
19 answers
160k views

I've update my iPhone 6 plus to iOS 10 beta version and just found that in mobile safari, you can zoom any webpages by double tapping or pinching IGNORE the user-scalable=no code in the meta tag. I ...
Sam Su's user avatar
  • 6,902
212 votes
4 answers
307k views

Is there a @media query to target only devices running iOS? For example: @media (min-device-width:320px) and (max-device-width:768px) { #nav { yada: yada; } } Would this also alter ...
Kevin G's user avatar
  • 2,485
90 votes
16 answers
100k views

I have an app, and I'd like to redirect the users to different pages based on where they are navigating from. If navigating from web clip, do not redirect. If navigating from mobile Safari, redirect ...
Steven's user avatar
  • 19k
140 votes
6 answers
146k views

How would i detect that the device in use is an Android for a mobile website? I need to apply certain css attributes to the Android platform. Thanks
Xavier's user avatar
  • 8,342
133 votes
8 answers
216k views

In my Angular JS project, I've an <a> anchor tag, which when clicked makes an HTTP GET request to a WebAPI method that returns a file. Now, I want the file to be downloaded to the user once ...
kelsier's user avatar
  • 4,108
98 votes
12 answers
83k views

In IOS8 Safari there is a new bug with position fixed. If you focus a textarea that is in a fixed panel, safari will scroll you to the bottom of the page. This makes all sorts of UIs impossible to ...
Sam Saffron's user avatar
116 votes
3 answers
94k views

I know that this changes quite often, but is there a list as exhaustive as possible out there of the possible values returned by navigator.platform? List so far: HP-UX Linux i686 Linux armv7l Mac68K ...
thomasstephn's user avatar
  • 3,855
91 votes
5 answers
140k views

What is the iOS 5.0 user agent string? Here is the iOS 4.0 user agent: What is the iPhone 4 user-agent?
chown's user avatar
  • 52.9k
49 votes
9 answers
77k views

This is related to the "fix" for position:fixed in older versions of iOS. However, if iOS5 or greater is installed, the fix breaks the page. I know how to detect iOS 5: navigator.userAgent.match(/OS ...
absynthe minded web smith's user avatar
83 votes
9 answers
74k views

There are several tricks for displaying different keyboards on mobile devices for HTML 5 inputs (i.e. <input> tags). For example, some are documented on Apple's website, Configuring the ...
Ryan McGeary's user avatar
52 votes
8 answers
79k views

I'm looking for an easy solution to post one link of my app e.g. on Facebook and it should automatically redirect to the right app store if the user accesses it with a mobile device. Otherwise the ...
Florian's user avatar
  • 599
38 votes
5 answers
29k views

The user agent of Safari on iPadOS beta is at this point exactly the same as Safari on macOS. Is there any other way to tell an iPad from a Mac? iPad running iOS Mozilla/5.0 (iPad; CPU OS 10_3_3 like ...
Jonny's user avatar
  • 16.4k

15 30 50 per page
1
2 3 4 5 6