Is there a way to search for a JavaScript attribute (e.g. a named function) in the currently live object model (what Firebug displays on the 'DOM' tab, I couldn't find a direct equivalent in the Chrome Developer Tools) of the currently loaded page, using the common developer tools of the main browsers?
An example would be that I search for 'beta' and the developer tools show me something like window.alpha.beta, meaning that some script file has created an object named 'alpha' on the window object, which has an attribute beta.
I explicitly do not want to search for strings in all script files (e.g. Ctrl-Shift-F in the Chrome Developer Tools).
The use case is that I want to call a function of the page from an extension/userscript. I know the function exists, but it is created using a complex framework and I can't tell where in the page's object model it ends up.
PS: Terminology-related edits of the question are welcome.
for..insearch starting withwindow(and skippingwindow.window/current === child).