F12打开控制台执行

修改html、css

document.body.contentEditable='true';

这样就可以随便修改Elements中的html了

修改js

function show() { alert(“old msg”);}  //原来的。

在console选项卡输入

function show() { alert("new msg");}  //新的

回车就可以更新show函数了.

相关文章:

  • 2021-06-12
  • 2022-12-23
  • 2021-10-25
  • 2021-04-16
  • 2021-10-22
  • 2021-09-20
  • 2022-01-01
  • 2021-12-08
猜你喜欢
  • 2021-05-26
  • 2021-06-18
  • 2022-12-23
  • 2021-06-12
  • 2021-09-30
  • 2021-07-12
相关资源
相似解决方案