from Hacker News

Document.designMode = "On";

by upmostly on 1/11/25, 11:20 AM with 0 comments

15 years as a web-dev. Only just found out about this today.

If you pop open chrome dev-tools and run document.designMode = "on"; in the console, you can edit text directly in the webpage itself, without having to edit it via the DOM.

I actually do this quite a lot, so this is a real time saver. You can also troll people with it.