i am trying to get a globally defined variable from a chrome browser.
lets say I have define a variable in the DOM (var foo=1;)
how can I retrieve this variable? (or even set it)
i have tried everything including writing a custom script but it simply does not work.
much appreciated for your help!