Skip to content

在网页上启用设计模式

只需在浏览器控制台中运行以下命令,就可以编辑当前打开的网页内容。

javascript
document.designMode = 'on'; // 启用
document.designMode = 'off'; // 禁用