# Chrome浏览器任意修改网页内容 **Published by:** [miken.eth](https://paragraph.com/@miken/) **Published on:** 2022-10-22 **URL:** https://paragraph.com/@miken/chrome ## Content 在Chrome浏览器按F12,打开开发者工具,切换到console选项卡:在下面的输入行输入下面的命令回车:document.body.contentEditable="true" 再单击页面上的任意文本就可以直接编辑了: 这个是利用了H5的contentEditable属性 ## Publication Information - [miken.eth](https://paragraph.com/@miken/): Publication homepage - [All Posts](https://paragraph.com/@miken/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@miken): Subscribe to updates - [Twitter](https://twitter.com/zhaoxiaoli10): Follow on Twitter