User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
Vilita
offline
Link
 
Originally posted by mw54finest
lol! you got me there! err, no I don't go to those sites either.

I made the URL bold. I also had to add ".", it wouldn't add space at the end.

Vilita, if you code, you should register there so you can post your codes.


I don't have time to code, its more of a hobby for me when I see something I don't like I just fix it

We'll see where I'm at this time next year maybe I'll make some neat things
 
Sinyen
offline
Link
 
Originally posted by mw54finest
Originally posted by Sinyen

Can you break up the Autoplay and First Down marker Script? I want to have the 1st down marker, but don't want it to autoplay. Thanks.


Wrath already has one.

http://userscripts.org/scripts/show/28748


Thank you! Can we get this linked on the first page please?
 
libertylane
offline
Link
 
it would be awesome if the scouting code worked by quarter. As of now it only seems to work for the whole game. But as we all know the 2nd half changes things no matter what the gameplan is.
 
bamaplaya1
offline
Link
 
Originally posted by Jed




Outputs a scouting report on the play-by-play screen:


Originally posted by pabst

Originally posted by tciss



I think we need to get organized or we will all end up duplicating each others work.


On that note, here's my duplicated work. It started out as yours though I rewrote most of it along the way. It works well enough for me and shows a bit more information than what I started with.

http://userscripts.org/scripts/show/28920




broke link, and i really want this 1
 
mw54finest
offline
Link
 
Originally posted by Sinyen

Thank you! Can we get this linked on the first page please?


Originally posted by bamaplaya1

broke link, and i really want this 1


http://glbscripts.myfreeforum.org/index.php
Both are under modified scripts. scouting report link worked from my link.
 
CTGuyton
offline
Link
 
Originally posted by libertylane
it would be awesome if the scouting code worked by quarter. As of now it only seems to work for the whole game. But as we all know the 2nd half changes things no matter what the gameplan is.


http://goallineblitz.com/game/game.pl?game_id=*&mode=pbp&quarter=*

add that to the included pages
 
Vilita
offline
Link
 
Player's cash is on the homepage:

Originally posted by yomamathecableguy

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/27967

this 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


I didn't much like this script either as for some reason it puts the cash thing under the energy levels and theres just no room for it there and it distorts the page. Meanwhile, there is plenty of room on the left side of the page.

Simply change: player_vitals in:
var playerbox=getElementsByClassName('player_vitals',document)
to say player_left_side
ie: var playerbox=getElementsByClassName('player_left_side',document)

and it all fits a lot nicer.
Last edited Jun 23, 2008 03:25:35
 
Sir Galahad
offline
Link
 
Originally posted by Vilita
You should hit enter after the last line of your posts on that forum, the URL's kind of blend into the ads


There are ads? WHERE? Thank G-d for FF.
 
a49erfan77
offline
Link
 
Hi all, great scripts...

I am not familiar at all with script editing...I saw that you need to use a program such as notepad when doing so through greasemonkey but I can't figure out how to get it to open notepad...

Any help would be greatly appreciated...thanks!

EDIT:

Nevermind...I figured it out...Google is a wonderful thing!!
Last edited Jun 23, 2008 06:55:21
 
Reggie Smash
offline
Link
 
Sorry that I'm a total retard with technical things, but I downloaded a particular script and now I don't want to use it anymore -- (the shoutbox thing takes up the entire top half of my screen and I have no use for it).

Can anyone tell me how to delete a script once you've got it running?
 
DaRealest
offline
Link
 
Originally posted by Reggie Smash
Sorry that I'm a total retard with technical things, but I downloaded a particular script and now I don't want to use it anymore -- (the shoutbox thing takes up the entire top half of my screen and I have no use for it).

Can anyone tell me how to delete a script once you've got it running?


Right click the Money in the bottom right hand corner of Firefox, click Manage User Script, click on the script you no longer have use for and then click Uninstall.
 
RandomBeast
offline
Link
 
Added a script to scroll through players from the profile page.

GLB Script Forum thread: http://glbscripts.myfreeforum.org/about46.html
Script source: http://userscripts.org/scripts/show/28988

 
jkf296
offline
Link
 
On the scout script, what does the Successful % mean?

How does determine if a play is successful or not?

Thanks in advance.
 
pabst
offline
Link
 
Originally posted by bamaplaya1
Originally posted by Jed





Outputs a scouting report on the play-by-play screen:


Originally posted by pabst


Originally posted by tciss




I think we need to get organized or we will all end up duplicating each others work.


On that note, here's my duplicated work. It started out as yours though I rewrote most of it along the way. It works well enough for me and shows a bit more information than what I started with.

http://userscripts.org/scripts/show/28920




broke link, and i really want this 1


The 28920 needs to be changed to 28938. Clicked a little too quickly trying to get it offline when I realized I had uploaded a botched version. Before I realized what I was doing I deleted it, so I had to reupload it.

It's now here ... http://userscripts.org/scripts/show/28938

 
King Henrik
offline
Link
 
Thanks to everyone that thought of these and put the work in to get them together. They make the game a lot more fun. I love watching the graphic play-by-play with the first down marker and auto next. I think that should be something that is added to the game permanently. Also the scouting script helps a ton too, would be awesome if we can get the same thing with a quarter by quarter breakdown or half by half.

thanks and awesome job!
 
Page:
 


You are not logged in. Please log in if you want to post a reply.