Script Summary: See method calls on an object inside a jQuery wrapper (requires Greasemonkey)
Version: 0.1
Support

This software will always be open source and free of charge, but donations keep it going! No amount is too little.
Description
This sample code logs all interaction on twitter.com with #profile_tab and its children at window.watched['profile_tab'].
How to use
Alter the getWatchFunction(jQuery, args$, blnElement) function to return a "watch" function whenever your elements of interest are jQuery'd (as identified by the jQuery object itself (parameter 1) and the arguments to jQuery (parameter 2). getArrayLogger(arrLog) will return a suitable watch function that just records the access (method, arguments, context, selector, timestamp, and call stack) at arrLog, but you can create your own watch functions as well. They will be passed objDefault the value returned by the jQuery call, jQuery the jQuery object itself, strMethod the method name, arrArgs the arguments passed to strMethod, and objContext the arguments context of user script code, and should return objDefault or a suitable replacement value (page code will see this returned from jQuery.strMethod.
Changelog
- 0.1 (2010-03-08)
- original release



