I'm making a greasemonkey script to parse out a certain part of a
page...
Here's the page's source:
<?xml version="1.0"?>
<gameStartup><user_id>6493</user_id><hash>72ue827aff9keial3</hash></
gameStartup>
I'm trying to get the text between "<hash>" and "</hash>".
Tried using substr on document.body.innerHTML, that didn't work. Also
tried document.getElementsByTagName("hash")[0].innerHTML, that failed
aswell.
I'm new to JS & Gresemonkey, maybe you guys could help me out :D
Thanks! :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---