检查javascript调用gmail的按钮 [英] inspect javascript calls for gmail's buttons

查看:66
本文介绍了检查javascript调用gmail的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究gmail的greasemonkey脚本,在点击发送按钮时知道发生了什么函数调用会非常有用。 (我无法使用萤火虫找到它,但是对于javascript调试来说,这是相对较新的)似乎应该能够检测到这一点,我只是不知道使用什么工具。

i'm working on a greasemonkey script for gmail in which it'd be very useful to know what function call is made when the "send" button is clicked. (i was unable to find this using firebug, but am relatively new to javascript debugging.) it seems that one should be able to detect this, i just don't know what tool(s) to use.

非常感谢您的帮助。

ps最终这里的目标是能够提取独特的信息i.d.对于传出的Gmail邮件,我想这个javascript调用中会出现 - 所以如果有另一种方法可以做到这一点,那么也可以工作。

p.s. ultimately the goal here is to be able to extract a unique message i.d. for outgoing gmail messages, which i figured would be present in this javascript call -- so if there's an alternate way to do this, that would work just as well.

推荐答案

Gmail的Javascript代码被混淆以避免这种类型的检查(并且减少代码大小)。即使设法正确地让Firebug在代码中出现断点,您也不太可能做出正面或反面的反应。

Gmail's Javascript code is obfuscated to avoid this type of inspection (and also to reduce code size). It is very unlikely you'll be able to make heads or tails of it even if you manage to get Firebug to breakpoint in the code properly.

这篇关于检查javascript调用gmail的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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