Jump to content
UBot Underground

How to detect if site is mobile compatible


Recommended Posts

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

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).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...