Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I understand this might be a bit low-tech solution, but since we can't seem to come up with anything else yet..</p> <p>I am assuming you already check for most of the other devices, so I see the following scenarios possible.</p> <p>You could check for ALL the possible most popular devices that require special CSS/sizing, and if it matches none of those either assume it's an iPad mini or simply ask the user?</p> <pre><code>// Device checks here ... else { // it would probably be better to make this a nicer popup-thing var mini = prompt("Are you using a iPad mini? Press yes for a better user experience"); // Store the result for future visits somehow. } </code></pre> <p>I know that might seem like a stupid approach right now, but if we currently have no way of deciding if the device is a iPad mini or an iPad 2 at least the website will be usable with iPad mini devices doing something like this.</p> <p>You could even go with something like this:</p> <p>"To give you the best possible browsing experience we try to detect your device-type to customise the website to your device. Unfortunately due to limitations this is not always possible and we can't currently determine if you use an iPad 2 or an iPad mini by using these methods.</p> <p>For the best possible browsing experience, please select what device you are using below.</p> <p>This choice will be stored for future visits to the website on this device.</p> <pre><code>[] iPad 2 [*] iPad mini [] Ancient blackberry device </code></pre> <p>"</p> <p>I am not entirely familiar with what you can and can't do client-side in Javascript. I know you can get a user's IP, but is it possible to get a user's mac address? Are those ranges different between iPad2's and iPad mini's?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload