User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Greasemonkey Scripts (original thread)
Page:
 
manic
offline
Link
 
Originally posted by scarletmbb
Can someone create a greasemonkey that provides a link to the league forum for each player/owner/GM?


misread the post

if the league forums had urls similar to team forums it would be easy,
something like /game/forum_thread_list.pl?league_id=#

but right now they just have forum_id=# urls
Last edited Jun 14, 2008 14:08:42
 
Link
 
this is impossible, because your home page does not tell what league your player is in. it's only possible if you're willing to manually insert the links. (in a previous post someone said to manic, i believe, that as a scripter you should not say anything is impossible, but the only way this would be possible would be to make an if statement that includes every team in the game. possible, but not really possible at the same time)
 
scarletmbb
offline
Link
 
Originally posted by manic
Originally posted by scarletmbb

Can someone create a greasemonkey that provides a link to the league forum for each player/owner/GM?


misread the post

if the league forums had urls similar to team forums it would be easy,
something like /game/forum_thread_list.pl?league_id=#

but right now they just have forum_id=# urls


Yeah...now that I think about it, it would have to be manually entered for each player because the team forum script you used pulled from one source.
 
boomer82
offline
Link
 
Haven't read the entire thread so forgive me if this has been brought up:

I had the GLB Chat Box up and tried to distribute skill points. When I clicked submit, nothing happened at all. I refreshed the page, tried again, nothing. Refresh, try again, nothing. Disabled the GLB Chat Box and bam it worked. Any idea why this happens and if there is any way to counteract it other than turning off the chat?
Last edited Jun 14, 2008 19:18:56
 
tpaterniti
Lead Mod
offline
Link
 
I am unstickying this post because it is linked in the guides section
 
Buzzkill
offline
Link
 
I just now tried to do RandomBeasts script to highlight multiple players in replays with a single script and it isnt working for me. Does this only work on replays from after you made the script, or should it work on replays that happened before i saved this script? IE: i just saved this script tonight but am watching replays from 2 days ago. All of my other scripts from here are working fine.

Here is what i have saved to notepad. I have looked it over too many times to count now and i just cant see an error, maybe someone else can find it if there is one.



// ==UserScript==
// @name Marion The Barbarian II
// @namespace GLB
// @description Red Icon
// @include http://goallineblitz.com/game/replay.pl?pbp_id=*
// ==/UserScript==

window.setTimeout( function()
{
if(document.getElementByld('114415')){
document.getElementByld('114415').style.backgroundColor = 'maroon';
}

if(document.getElementByld('105588')){
document.getElementByld('105588').style.backgroundColor = 'navy';
}

if(document.getElementByld('172062')){
document.getElementByld('172062').style.backgroundColor = 'maroon';
}

if(document.getElementByld('183958')){
document.getElementByld('183958').style.backgroundColor = 'navy';
}

if(document.getElementByld('172077')){
document.getElementByld('172077').style.backgroundColor = 'maroon';
}

if(document.getElementByld('333087')){
document.getElementByld('333087').style.backgroundColor = 'navy';
}

if(document.getElementByld('375371')){
document.getElementByld('375371').style.backgroundColor = 'maroon';
}
}
)

Last edited Jun 15, 2008 01:38:42
 
Link
 
boomer, for some reason it does that. it messes up the form elements and all that junk. you have to disable it so you can distribute sp's, or delete pm's, then enable it again.

here's a nifty script i made yesterday. it was manic's idea, so i'll give some credit to him. it adds the number of PM's you have to the toolbar next to Inbox.

http://userscripts.org/scripts/show/28486
 
RandomBeast
offline
Link
 
buzzkill, it should work on all replays, old and new. I don't see an error there at first glance. Do you get any messages in the firefox error console? The script is enabled, right?
 
TuNice
offline
Link
 
The Friends list one is confusing as hell. I dont understand the coding at all. And why do I start off with Friends
 
Link
 
Is it possible to write a script that affects the depth chart screen? Specifically to make the middle window larger so it shows more than just three players?

It's annoying being an owner and trying to set up certain aspects of the depth chart like ST where you need to add so many guys and the window only shows 3.
 
Link
 
tunice - sorry for the complexity, but it's the easiest i can make it. you start off friends because they are examples.

conor - i'll try it out
 
TuNice
offline
Link
 
Originally posted by yomamathecableguy
tunice - sorry for the complexity, but it's the easiest i can make it. you start off friends because they are examples.

conor - i'll try it out


yea having the friends there to start off actually helped me. I finally understood it.


How do you write all of this stuff though?
 
Buzzkill
offline
Link
 
Originally posted by RandomBeast
buzzkill, it should work on all replays, old and new. I don't see an error there at first glance. Do you get any messages in the firefox error console? The script is enabled, right?


i dont get any error message or anything,just runs normally with the blue and yellow, and yes i made sure it is enabled. I also tried doing it individually for one player using your initial post, and got nothing from that either.
 
DaRealest
offline
Link
 
Originally posted by RandomBeast
buzzkill, it should work on all replays, old and new. I don't see an error there at first glance. Do you get any messages in the firefox error console? The script is enabled, right?


I'm still using the old script, as I didn't know you had this new one. I've just been adding new script for different players with different images.
 
JeffSteele
offline
Link
 
hey, i'm not good at programming. so can someone write a script that puts a persistent text box at the bottom of each player's page? I don't know how it would be coded, but you could put text in there and it'd save on the page or something. It'd be useful for keeping notes on each player's build, future, contracts, etc.

Thanks!
 
Page:
 


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