开发者

Catching URLs processed by Firefox once clicking AJAX links

开发者 https://www.devze.com 2023-02-16 05:02 出处:网络
I was wondering if there is a simpl开发者_Python百科e way of \"catching\" the URLs processed by Firefox (or any browser for that matter) once I click them (e.g. click \"Send friend request\" on Facebo

I was wondering if there is a simpl开发者_Python百科e way of "catching" the URLs processed by Firefox (or any browser for that matter) once I click them (e.g. click "Send friend request" on Facebook).

The "Friend Request" on Facebook is just an example, so please don't give me a specific link for that. I want to know if I can retrieve the URL that is being processed, e.g. http:// facebook.com / ajax / request.php?type=friend&id=1234567890 in a simple way - dissecting the code from source is not an option.


One option would be to write a GreaseMonkey script that attaches an event handler to each link on the page.

Once the link is clicked, you intercept it's it's href attribute and then it let it continue processing it's standard behavior.

0

精彩评论

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