Published on 2005-07-19 09:20:37
So howto use Greasemonkey as an AJAX debugger ?
- Well first you have to install it, from http://greasemonkey.mozdev.org/
- Then you need to get the XMLHttpRequest Debugging script
- When you visit the script page, right click and install User Script or from menu Tools then install User Script
- Now that the script is installed just go to Tools > Manage User Scripts and add hosts/pages you want allow debugging.
- That's all, now if you open your page and it do an XmlHttpRequest it will open a div with all messages, then you can hide, clear, minimize ... etc
So hope this will help you debugging, and hope you won't need to use it only if you're fun of debugging :-)
Update : There is a security issue that just have been reported about Greasemonkey Insecurities, so be aware ! In the newsletter they said to Uninstall Greasemonkey altogether until it will be fixed
Previous Page
Related Entries
Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved