i've finally got it. i can get information from external pages. i made a script that adds your players cash to the home page. check it out:
http://userscripts.org/scripts/show/27967this one requires a little bit of setup, not too much, but some.
this is the layout of each "block":
GM_xmlhttpRequest({
method: 'GET',
url: '
http://goallineblitz.com/game/player.pl?player_id=432283',
headers: {
'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
'Accept': 'application/atom+xml,application/xml,text/xml',
},
onload: function(cash) {
var response1=cash.responseText
var cash=response1.split('<td class="stat_head">');
var cash1=cash[18].split('<td class="stat_value">');
var cash2=cash1[1].split('</td>');
var container=document.getElementById('content')
var playerbox=getElementsByClassName('player_vitals',document)
playerbox[0].innerHTML = playerbox[0].innerHTML +
"<tr><td class='player_vital_head'>Cash:</td><td>" + cash2[0] + "</td>" +
"</tr>"
}
});
1)where it says url: '
http://goal.....', put your player's url.
2) in the 4th line up from the bottom, there is a line playerbox[0].inner......
look at what position the specified player is on the page. top left is 1, top right is 2, second left is 3, etc. subtract one from this. now put that number in for the 0 in both innerHTML's.
3)to add more players, simply copy the above block of code, paste it at the bottom of the script, and repeat steps 1 and 2
ask if you need help