How can I get the data stored in variables outside my window or tab of a foreign application? It is written in javascript and HTML5.Right now I have two ideas:
-Debbuging the browser as a plug-in.
-Scanning the browser memory
What would be easier? Is there another solution? Right now I am working with chrome and a facebook shooting game, and it would be a lot easier to do if the alternatives were done in js, php, or C++.