正在加载视频...

视频加载失败

I can't believe I just learnt that Chrome lets you: - Emulate focus so you can click freely in devtools - add debugging for when HTML subtrees change WHERE WAS THIS THE PAST 5 YEARS?! Here's how you enable focus emulation:

181,409 次观看 • 3 年前 •via X (Twitter)

10 条评论

sami 🏃🏽‍♂️👹 的头像
sami 🏃🏽‍♂️👹3 年前

and here's how you debug HTML subtree modifications! (note this is a lot less practical in this particular case, but can be very useful for debugging non-focus interactions)

sami 🏃🏽‍♂️👹 的头像
sami 🏃🏽‍♂️👹3 年前

I just put this together into a blog post for posterity as well!

Nick Williams 的头像
Nick Williams3 年前

No need to go into settings! You can cmd+shift+p and type "emulate focus". Even quicker :)

sami 🏃🏽‍♂️👹 的头像
sami 🏃🏽‍♂️👹3 年前

ooh, that's true! Thanks for mentioning it

Mone Ounch Pan 的头像
Mone Ounch Pan3 年前

What pisses me off is Chrome still hasn’t added a feature to hide all those extra tabs under inspect element. I don’t have to use all the tabs give me a option to only show some.

sami 🏃🏽‍♂️👹 的头像
sami 🏃🏽‍♂️👹3 年前

@clivemchd Not sure if this is what you want, but you can toggle the entire set of secondary tabs ON/OFF by hitting the Escape key :)

Erik Rasmussen 👨‍💻🇺🇸🇪🇸 的头像
Erik Rasmussen 👨‍💻🇺🇸🇪🇸3 年前

@Steve8708 Might be worth snapping up this nerd as well. 🙄

David 的头像
David3 年前

Wait what? I just learned this now 😅

Ranjeet Harishchandre | rust.rs 的头像
Ranjeet Harishchandre | rust.rs3 年前

helpful

Alex Parker 🚀 的头像
Alex Parker 🚀3 年前

This is a serious confession. But 10x like finding a $100 in your pants pocket

相关视频