What does Baidu use to judge users browsing devices?

occasionally find out:

clipboard.png

clipboard.png

clipboard.png

navigator.userAgent
clipboard.png

clipboard.png

Mar.31,2021

the information provided by the navigator.userAgent object to determine

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10 / 13 / 1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"


User Agent String.

User Agent is the user agent, that is, the program that accesses the service, in this case the browser, of course, the user agent is not just the browser.

the user agent sends a header message to the server (you can switch to the web panel of the browser development tool to see each request, and the User-Agent in the header message is) to indicate what kind of user agent you are. The server can send different content based on this header information.

another answer is the way to get User Agent through JS.


navigator.platform (navigator.userAgent will be forged by the browser)
whether the browser opens developer mode or not, this thing will not change, the computer will open, he is' win32', Android phone open he is "Linux armv8l", iphone opens him (this is not tested).
you can use this to identify whether the browser is in developer mode.
(I don't know if it's correct, but feasible)

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36358-4ec5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36358-4ec5d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?