How to get Javascript function's source code from specific site using firebug?

别来无恙 提交于 2019-11-30 01:22:51
Eldar Djafarov

Just write in console:

viewHide.toString()

You will get a source code of function as a text.

You can also put ViewHide under the Name column of the watch panel on the Script tab. When you press enter or click out after putting in the name, it should evaluate it and put the code in the Value column.

Just write in console:

console.log(viewHide)

Then double-click the output will jump to the source file of the function definition.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!