Is there a way for me to retrieve a parameter from a JSON page? I have the ability to run code on that page.
alert(document.body.innerHTML)
When this code is executed, it displays:
<pre style="word-wrap:break-word;white-space: pre-wrap;">{"token": " ... "}</pre>
How can I extract the token from this innerHTML object?
This is within a child browser of my Cordova application, which is why I am resorting to such an unconventional method.