浏览器打开控制台Console,输入一下命令:
Object.defineProperty(this,'navigator',{value:{platform:""}});
显示:
Object.defineProperty(this,'navigator',{value:{platform:""}});
Window {speechSynthesis: SpeechSynthesis, caches: CacheStorage, localStorage: Storage, sessionStorage: Storage, webkitStorageInfo: DeprecatedStorageInfo…}