GoogleChromeLabs / ProjectVisBug

FireBug for designers › Edit any webpage, in any state https://a.nerdy.dev/gimme-visbug
https://visbug.web.app
Apache License 2.0
5.49k stars 289 forks source link

New Toggle Options for Emulation #623

Open brandonmcconnell opened 6 months ago

brandonmcconnell commented 6 months ago

It would be super helpful to have an Emulator option to quickly toggle some of the same settings that are nested under the second toolbar's Rendering menu in the inspector.

I often need to toggle back and forth between light/dark and screen/print, so having these emulation settings handy—especially without needing to dig through my inspector or even open it—would be great.

jogibear9988 commented 2 months ago

Infos about how to maybe implement this: https://stackoverflow.com/questions/74840148/access-rendering-settings-in-devtools-programmatically-from-a-chrome-extension https://chromedevtools.github.io/devtools-protocol/tot/Emulation/#method-setFocusEmulationEnabled