如何从使用萤火虫的特定网站获取Javascript函数的源代码? [英] How to get Javascript function's source code from specific site using firebug?

查看:129
本文介绍了如何从使用萤火虫的特定网站获取Javascript函数的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用firebug我发现点击链接调用javascript函数

 < a href =#onclick = viewHide(this); return false;> 

但是我无法在页面源代码中找到它的实现。

是吗?可能得到它?



该网站是在希伯来语,但我不认为这是问题:链接文本以触发此功能,请点击任何评论标题该文章。



删除了死的ImageShack链接

解决方案

只需在控制台中写入:

  viewHide.toString()

您将获得一个函数的源代码作为文本。


With firebug I found that clicking on the link calls javascript function

<a href="#" onclick="viewHide(this);return false;">

But I couldn't find it's implementation in page source.
Is it possible to get it?

The site is in hebrew, but I don't think it's problem :link text to trigger for this function click on any comments title that follow the article.

removed dead ImageShack link

解决方案

Just write in console:

viewHide.toString()

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

这篇关于如何从使用萤火虫的特定网站获取Javascript函数的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆