Skip to content

A chrome extension that modify the navigator.platform while simulating a mobile viewport

Notifications You must be signed in to change notification settings

k1995/ChromeSimulateDeviceHack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

​ You can use Device Mode in Chrome DevTools(F12) to simulate a mobile viewport.

But it only change the navigator.userAgent, while navigator.platform remains unchanged.

This Chrome extension helps you solve this problem.

​ 我们在使用Chrome F12模拟手机请求的时候,Chrome只会修改UserAgent等属性,navigator.platform保持不变,Windows平台下该值一般为Win32

​ 而国内很多网站,是根据navigator.platform做跳转,比如某度。该插件就是解决这个问题。

About

A chrome extension that modify the navigator.platform while simulating a mobile viewport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published