Parsing js with ruby

What I’m trying to accomplish is to create a javascript information
parser. I’d like to be able to extract specifically the information in
the status bar of firefox (or any other browser). For instance when
hovering over a picture embedded with javascript, it displays the image
location… or when retrieving information from a js function, it
displays this such info. Is there any way to pull this information from
the status bar? It’s done through the browser so I can’t see why there
wouldnt be a way to integrate this ability into a ruby app.

Regards,

  • Mac