tinear10 1 Posted May 9, 2013 Report Share Posted May 9, 2013 Hello,Any tips of detecting if a website is mobile compatible? I am trying to come up with a footprint search or maybe redirect detection. Any tips? Thank you Quote Link to post Share on other sites
Kev 69 Posted May 11, 2013 Report Share Posted May 11, 2013 You could set the user agent to iPhone and then navigate to the URL and see does it redirect. You could compare the source URL to the new URL to see if they are the same or not Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 11, 2013 Report Share Posted May 11, 2013 That will only get so many though. My sites for example that I built that are mobile compatible scale down and don't redirect. I think you will find that with a lot of sites as well. This is a tough one, you can for sure get some of them by watching for redirects you just wont get all of them. Quote Link to post Share on other sites
tinear10 1 Posted May 11, 2013 Author Report Share Posted May 11, 2013 Thank you for the feedback. This is a tough one Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 11, 2013 Report Share Posted May 11, 2013 Maybe look for media queries in the CSS that deal with 320 which is a standard size for mobile phones. I think 480 as well, I would Google that part for sure Quote Link to post Share on other sites
UBotDev 276 Posted May 11, 2013 Report Share Posted May 11, 2013 I guess your question should be "if site is mobile friendly", since most of the sites are mobile compatible (they work, so I think that means that are compatible). I think that the simplest way would be to look for horizontal scroll bar (in theory, haven't done that in UBot), and if that one exists this should mean that the site isn't mobile friendly (since mobile friendly sites don't have horizontal scroll bar). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.