HelloClyde / ChromeSimulateDeviceHack

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

​ 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


Languages

Language:JavaScript 100.0%