mw54finest
|
[How to] Make the replay step after a field goal attemptby RandomBeast
find the line right near the top that says
| Code: | | var dirText = dir.innerHTML; |
and add the following right under it
| Code: | 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);
}
}
} |
|