I just want my GM script to execute window.alert (foo), where foo is equal to the local javascript variable on the page.
Ideas?
alert(unsafeWindow.foo);