Overrides page in Chrome Developer Tools gone in latest Canary

心已入冬 提交于 2019-11-29 00:17:50

问题


In Chrome (version 32.0.1677.0 canary Aura), I can't find the overrides tab/page in the Developer Tools settings. (It used to be placed between the "General" and "Workspace" tabs. Did they move it, or did I forget to enable something?


回答1:


Hit Esc to open the console drawer, then you can open the Sensors tab via the drawer menu on the left.

Sensors provides geolocation and accelerometer settings.

Additionally, the newer Device Mode captures the basics of mobile device emulation.




回答2:


Seems like the "Emulation" button only is available from Console, when Console is opened from one of the other tool tabs. Ex. "Source" or "Elements".

Go to "Elements" , click on the "Show console" icon. The "console drawer" will open in bottom part of the window with Console, Search, Emulation tabs. If this is a bug or not is hard to say.




回答3:


This thread is quite old and everything is now changed with the new "device mode". You cannot use any of this anymore.

As stated here by @paul-irish (from the Chrome DevTools team) on twitter :

  • one should just activate the device mode, and then use the shift key + drag the mouse around to emulate pinch zoom, with no particular setup.

  • this pinch to zoom emulation doesn't seem to work very good with JS libs like Hammer.

For now, it is better to test pinch to zoom on actual devices, or with http://browserstack.com



来源:https://stackoverflow.com/questions/19496393/overrides-page-in-chrome-developer-tools-gone-in-latest-canary

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!