从某个web应用程序中找到数据来源的一致方法是什么?
上下文:
考虑:
<html>
<body>
<script src="app.js"></script>
</body>
</html>
考虑app.js
:
// super complex app starts here
var hello = "hello world";
document.write(hello);
// super complex app ends here
假设app.js
是一个超级复杂的压缩JS应用程序,它以某种方式将"hello world"写入文档,但我们现在还不知道它来自哪里...
什么是确定"hello world"
第一次被提到DOM的确切方式?
Web inspector似乎无法在所有下载的文件中搜索"hello world"...