开发者

How to I access a page level (local) javascript variable in a greasemonkey script?

I just want my GM script to do a window.alert(foo) where foo is equal to a local 开发者_Python百科javascript variable within the page.

Ideas?


alert(unsafeWindow.foo);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜