Harry Roberts @csswizardry.com · Aug 19

Chrome DevTools snippets are incredibly powerful, but they don’t accept parameters. One crude way around it is to use `prompt()` to take input on the fly.

24 likes 3 replies

?

Replies

Michal Mocny · Aug 21

Omg genius

Harry Roberts · Aug 19

I used this to build a quick obfuscator. This will be great for anonymising @speedcurve.com dashboards before putting them in talks etc. Peep the address bar and tab name, too!

Chrome for Developers · Aug 21

A pro-tip from a pro. We love seeing this kind of creative problem-solving.