How does Baidu network disk detect the real browser environment of users?

if you use the mobile mode in F12 developer mode to open Baidu"s network disk, it will display a PC page, and if you use a mobile phone, it will display a wap page. Could you tell me how it does it?

Jan.28,2022

there is a js code on the home page of the mobile version to determine whether you are on the pc side.

  how do I modify the navigator.platform property of the browser?  

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-1e64867-44a31.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-1e64867-44a31.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?