You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

请求提供Microsoft Surface Pro平板电脑的User Agent字符串用于Chrome模拟器测试

Microsoft Surface Pro Chrome User Agent Strings for Emulator Testing

Got it, here are the typical, up-to-date User Agent strings for Google Chrome on common Microsoft Surface Pro models—you can plug these directly into Chrome's DevTools emulator for your testing:

  • Surface Pro 10/9 (Windows 11, latest stable Chrome)

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
    

    Note: Windows 11 still uses Windows NT 10.0 in its UA strings, so this is normal and accurate for modern Surface Pro models.

  • Surface Pro 8 (Windows 11, Chrome 12x series)

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
    
  • Surface Pro 7/6 (Windows 10, Chrome 11x-12x series)

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
    

Pro Tip: Grab an Exact, Custom UA

If you need a 100% precise string (for a specific Chrome version, Windows build, or even a Surface Pro with touch-specific flags), you can pull it directly from a physical Surface Pro:

  1. Open Chrome on the device
  2. Navigate to chrome://version
  3. Copy the full string from the User Agent field at the top of the page

To use these in Chrome DevTools:

  1. Open DevTools (press F12 or Ctrl+Shift+I)
  2. Toggle the Device Toolbar (Ctrl+Shift+M)
  3. Click the device dropdown > Edit...
  4. Paste your chosen UA into the "User agent" field of your custom Surface Pro profile

内容的提问来源于stack exchange,提问作者Adil Mahmood

火山引擎 最新活动