How do websites know whether you’re on mobile or desktop?

957 views

How do websites know whether you’re on mobile or desktop?

In: Technology

Anonymous 0 Comments

When your browser or phone sends a request to a website, it sends some additional information along with it. One of these pieces of information is called a user agent and identifies the browser. The website responds accordingly depending on which user agent it sees.