Closed millette closed 11 months ago
The client sends a user-agent string, not the server.
Thank you, @millette 👍 The updated post is available at https://phuoc.ng/collection/html-dom/detect-mobile-browsers/ I also included your GitHub to the top of the article.
The client sends a user-agent string, not the server.