User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
mdkaden
offline
Link
 
// ==UserScript==
// @name Mdkaden
// @namespace GLB
// @description Custom icon on replay for players
// @include http://goallineblitz.com/game/replay.pl?pbp_id=*
// ==/UserScript==

It's enabled.
The replay page(s) are include.... at least I think that's the http
And this is to tag my player on the replay.

Any other thoughts would be greatly appreciated.
 
RTS
offline
Link
 
Originally posted by karma99
Originally posted by tahl

Originally posted by karma99


Forum Ignore List

Finally you can ignore those stupid trolls whose posts waste your time and wear out your eyeballs for no reason


I like it... but now their is to much info under their picture for those that enter only a couple line comments. The info sticks below their blocked out area of posting on the forum.

I know I saw a way to hid online/offline status somewhere in this mass forum. Anyone know where that script is? To remove the online/offline status so I can use this script and shorten it up.


Hmm, I thought there was enough room in the box as it was. I have in fact extended it for Mods and Admins as they have an extra line in their left side info.
Can you post a thread/post link here where this happens for you and I'll take a look. Cheers


Sure thing here it is:
http://profile.imageshack.us/user/tahl20/images/detail/#383/forumtn3.jpg

Maybe the online/offline can be incorporated in the username? Highlighting it if they're online and not if they're... not.
Last edited Jul 13, 2008 20:17:46
 
pabst
offline
Link
 
Originally posted by mdkaden
Can someone please take a look at this and see if they can figure out what I might have done wrong?


I loaded the following script but it doesn't highlight the player in the replay. Any ideas?

Window.setTimeout(function()
{

if(document.getElementById('506779')){
document.getElementById('506779').style.backgroundColor = 'red';
}



un-capitalize the 'W' in window.

Pressing CTRL-SHIFT-J should bring up Firefox's error console and show the complaint about Window.setTimeout not being valid.

And, while I'm at it .... here's my highlight script, Firefox 3.0 users only : http://userscripts.org/scripts/show/29460
Last edited Jul 14, 2008 00:36:28
 
RandomBeast
offline
Link
 
Originally posted by mw54finest
RB,
What codes do I have to change in Player Notes to show on
http://goallineblitz.com/game/home.pl?user_id=* ?

http://glbscripts.myfreeforum.org/sutra413.php#413 for details.


http://glbscripts.myfreeforum.org/about127.html
 
Dudeamis
offline
Link
 
Originally posted by pabst
Originally posted by mdkaden

Can someone please take a look at this and see if they can figure out what I might have done wrong?


I loaded the following script but it doesn't highlight the player in the replay. Any ideas?

Window.setTimeout(function()
{

if(document.getElementById('506779')){
document.getElementById('506779').style.backgroundColor = 'red';
}



un-capitalize the 'W' in window.

Pressing CTRL-SHIFT-J should bring up Firefox's error console and show the complaint about Window.setTimeout not being valid.


oh sweet thats the error console, made my life easier.
 
mw54finest
offline
Link
 
RB, thank you! and Dudeamis, you are good to go!
 
karma99
offline
Link
 
Originally posted by tahl
Originally posted by karma99

Originally posted by tahl


Originally posted by karma99



Forum Ignore List

Finally you can ignore those stupid trolls whose posts waste your time and wear out your eyeballs for no reason


I like it... but now their is to much info under their picture for those that enter only a couple line comments. The info sticks below their blocked out area of posting on the forum.

I know I saw a way to hid online/offline status somewhere in this mass forum. Anyone know where that script is? To remove the online/offline status so I can use this script and shorten it up.


Hmm, I thought there was enough room in the box as it was. I have in fact extended it for Mods and Admins as they have an extra line in their left side info.
Can you post a thread/post link here where this happens for you and I'll take a look. Cheers


Sure thing here it is:
http://profile.imageshack.us/user/tahl20/images/detail/#383/forumtn3.jpg

Maybe the online/offline can be incorporated in the username? Highlighting it if they're online and not if they're... not.


Bingo! Send PM! You have another script running as well that adds the Send PM link, so suddenly there are too many lines again
I'm not going to edit the script, but if you want to do it yourself, change the line that says... setAttribute('style','height:45px');
There are 2 more that have the height as 60px and 150px, just add 10 or 15 to all 3 of these (55px, 70px, 160px, etc) and it will increase the height to fit it all in.
 
kaygdanimal
offline
Link
 
I've looked but after going through 80+ pages, I'm sure I might've missed it.

Is there a script that shows on the Roster Page the agents for each player? It's nice to know who's who on your roster.
 
Link
 
Originally posted by kaygdanimal
I've looked but after going through 80+ pages, I'm sure I might've missed it.

Is there a script that shows on the Roster Page the agents for each player? It's nice to know who's who on your roster.


Not that I'm aware and I'd like this feature in GLB too.

Also, remember there is an outisde forum dedicated to GLB greasemonkey scripts and it is a heck of a lot easier to see all the scripts available and search, etc: http://glbscripts.myfreeforum.org/index.php
 
kaygdanimal
offline
Link
 
Originally posted by Wrath Of Conor
Originally posted by kaygdanimal

I've looked but after going through 80+ pages, I'm sure I might've missed it.

Is there a script that shows on the Roster Page the agents for each player? It's nice to know who's who on your roster.


Not that I'm aware and I'd like this feature in GLB too.

Also, remember there is an outisde forum dedicated to GLB greasemonkey scripts and it is a heck of a lot easier to see all the scripts available and search, etc: http://glbscripts.myfreeforum.org/index.php


Thanks. I actually went out there as well but just didn't see it there either.
 
mw54finest
offline
Link
 
Originally posted by tahl
Sure thing here it is:
http://profile.imageshack.us/user/tahl20/images/detail/#383/forumtn3.jpg


Hey, my avatar is in that picture! I need to start charging royalty fees.
 
Dudeamis
offline
Link
 
Originally posted by mw54finest
RB, thank you! and Dudeamis, you are good to go!


woot, now I just need a time machine to get 2001 me over here... but the air force might get pissed... I'll replace myself, with myself... oh crap paradox.
 
mw54finest
offline
Link
 
Originally posted by kaygdanimal
Thanks. I actually went out there as well but just didn't see it there either.


I haven't been really active on this thread as I should, but everything on this thread should be on the outside forum. If you don't see it there, it hasn't been created yet.
 
athrun340
offline
Link
 
can somebody help me??

what am i doing wrong

Originally posted by
// ==UserScript==
// @name GLB No SP Blue
// @namespace www.goallineblitz.com
// @description Removes blue boxes from leveled players with unspent SP
// @include http://goallineblitz.com/game/home.pl
// ==/UserScript==

// Add player id's here Array('123456'); for just 1, Array('123456','234567','345678'); etc for more
var players=new Array('123456','234567');
//////////////////////////////////////////

window.setTimeout(function(){

var divs=getElementsByClassName('content_container_sp player_box',document.getElementById('330912');
if (divs)
{
for(i=0;i<divs.length;i++)
{
for(ii=0;ii<players.length;ii++)
{
if(divs.innerHTML.split('<a href="/game/player.pl?player_id='+players[ii]).length>1)
{
divs.setAttribute('class','content_container player_box');
}
}
}
}
});

function getElementsByClassName(classname, par)
{
var a=[];
var re = new RegExp('\\b' + classname + '\\b');

var els = par.getElementsByTagName("*");

for(var i=0,j=els.length; i<j; i++)
{
if(re.test(els.className))
{
a.push(els);
}
}
return a;
};

this is the no blue boxes for unspent SP script
 
RandomBeast
offline
Link
 
did you plug in your player ids into this line?

var players=new Array('123456','234567');
 
Page:
 


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