User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
TuNice
offline
Link
 
Originally posted by RandomBeast
Sure, find the line (kinda near the bottom of the script) that says

window.location.href = Buttons[ i ].firstChild.href;

and replace it with

setTimeout("window.location.href = '" + Buttons[ i ].firstChild.href + "';",3000);

the last number (3000 in this example) is the number of milliseconds to delay before loading the next play. 1000 would be 1 second. I set my delay to 3 seconds.

edited to add: take out the spaces in the [ i ] - the forum translates that into italics.


can you excuse my retardation and PM me a copy and pasted version of what your version says. i dont want it to extend the page of this thread to much.
 
cbrown
offline
Link
 
how about a script that numbers the position on the depth chart for KOS AND KRS. Im too lazy to count them
 
uberbad
offline
Link
 
Originally posted by RandomBeast
Sure, find the line (kinda near the bottom of the script) that says

window.location.href = Buttons[ i ].firstChild.href;

and replace it with

setTimeout("window.location.href = '" + Buttons[ i ].firstChild.href + "';",3000);

the last number (3000 in this example) is the number of milliseconds to delay before loading the next play. 1000 would be 1 second. I set my delay to 3 seconds.

edited to add: take out the spaces in the [ i ] - the forum translates that into italics.


Works great! Thanks RB! Anyway to make the replay step after a field goal attempt?
Last edited Jun 21, 2008 20:22:40
 
RandomBeast
offline
Link
 
Yes, actually.

find the line right near the top that says
var dirText = dir.innerHTML;

and add the following right under it

if(dirText.indexOf(" field goal ")!=-1)
{
var Buttons = getElementsByClassName("tab",document);
var ButtonsCount = Buttons.length;
for(var i=0; i<ButtonsCount; i++)
{
var Button = Buttons[ i ];
var ButtonText = Button.innerHTML;
if(ButtonText.indexOf("Next Play")!=-1)
{
setTimeout("window.location.href = '" + Buttons[ i ].firstChild.href + "';",4000);
}
}
}

Again, remove any spaces from the [ i ] parts.
 
tciss
offline
Link
 
Originally posted by uberbad
Originally posted by RandomBeast

Sure, find the line (kinda near the bottom of the script) that says

window.location.href = Buttons[ i ].firstChild.href;

and replace it with

setTimeout("window.location.href = '" + Buttons[ i ].firstChild.href + "';",3000);

the last number (3000 in this example) is the number of milliseconds to delay before loading the next play. 1000 would be 1 second. I set my delay to 3 seconds.

edited to add: take out the spaces in the [ i ] - the forum translates that into italics.


Works great! Thanks RB! Anyway to make the replay step after a field goal attempt?


You guys are just too impatient. I'm getting very close on the new version of the replay script that includes everything you guys have requested plus a lot more. Every option is controlled by an on page settings menu so you can customize everything from the delay at the end of the play to the color of the first down marker. It has a scoreboard as well.
 
jaspegs94
offline
Link
 
Originally posted by tciss
Originally posted by uberbad

Originally posted by RandomBeast


Sure, find the line (kinda near the bottom of the script) that says

window.location.href = Buttons[ i ].firstChild.href;

and replace it with

setTimeout("window.location.href = '" + Buttons[ i ].firstChild.href + "';",3000);

the last number (3000 in this example) is the number of milliseconds to delay before loading the next play. 1000 would be 1 second. I set my delay to 3 seconds.

edited to add: take out the spaces in the [ i ] - the forum translates that into italics.


Works great! Thanks RB! Anyway to make the replay step after a field goal attempt?


You guys are just too impatient. I'm getting very close on the new version of the replay script that includes everything you guys have requested plus a lot more. Every option is controlled by an on page settings menu so you can customize everything from the delay at the end of the play to the color of the first down marker. It has a scoreboard as well.


SWEET
 
uberbad
offline
Link
 
Originally posted by tciss
You guys are just too impatient. I'm getting very close on the new version of the replay script that includes everything you guys have requested plus a lot more. Every option is controlled by an on page settings menu so you can customize everything from the delay at the end of the play to the color of the first down marker. It has a scoreboard as well.


Yes we are impatient

 
RandomBeast
offline
Link
 
The man has spoken.
 
mw54finest
offline
Link
 
For the extremely impatient AND lazy:
Modified tciss replay script with:
fixed FG next bug.
added 2 second delay after each play.
Players will go "over" the first down marker not under.
All thanks to RandomBeast!

http://userscripts.org/scripts/show/28908
 
mw54finest
offline
Link
 
tciss, I am anxiously waiting for the scout box with working rush AND pass stats.
 
cbrown
offline
Link
 
Originally posted by mw54finest
tciss, I am anxiously waiting for the scout box with working rush AND pass stats.


there is one, i have it, i found it on userscript
http://userscripts.org/scripts/show/28783


or does this one still have bugs?
Last edited Jun 21, 2008 21:06:54
 
mw54finest
offline
Link
 
Originally posted by cbrown
there is one, i have it

Nice! It is perfect. Do you know if the math all checks out on this version?
Last edited Jun 21, 2008 21:06:49
 
arteryman
offline
Link
 
Taken down since I obviously was not done yet
 
cbrown
offline
Link
 
Originally posted by mw54finest
Originally posted by cbrown

there is one, i have it

Nice! It is perfect. Do you know if the math all checks out on this version?


no i dont know, it might have bugs.
 
cbrown
offline
Link
 
is there a script that shows the score on the replay?
im addicted to script, i need more scripts!
Last edited Jun 21, 2008 21:09:35
 
Page:
 


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