To see less ads Register or Login ----- Daily Fantasy Sports games 18+

Greasemonkey script to display team data on FPL league page

A Fantasy Football forum for news on fantasy football games run by the Premierleague (FPL).
Post Reply
User avatar
MPTree
Grumpy Old Man
Posts: 2008
Joined: 13 Oct 2013, 13:44

Re: Greasemonkey script to display team data on FPL league page

Post by MPTree »

Only just installed this. AMAZING. Thanks so much for this, Nick.

Running chrome and having an issue with the last digit of the total score spilling over to a second row. Can this be fixed, or is it just the size of my monitor?

User avatar
MoSe
Dumbledore
Posts: 9550
Joined: 10 Sep 2014, 12:25
Location: next door S.Siro stadium
FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner

Re: Greasemonkey script to display team data on FPL league page

Post by MoSe »

as a user:
it has to do with the number of columns displayed...
a lot of info is offered, but if you display them all, something has gotta wrap (in the cell, not the row)

at the bottom of the table, you can find all the toggles, and there's Extra Wide On|Off too, it might help a bit

User avatar
Mav3rick
FISO Jedi Knight
Posts: 20858
Joined: 20 Jul 2009, 20:35
FS Record: FPL: 1082, 1201, 1800, 10203

The stats are dark and full of errors.

Re: Greasemonkey script to display team data on FPL league page

Post by Mav3rick »

nickchild wrote:Have updated the script to reflect DGW players. They will remain in the TP (To Play) column until their 2nd game has started. They should also not move to the DNP (Did Not Play) column unless they have played 0 minutes in both games. There will now also be an indicator in the rollover of the TP column showing if a player has multiple games left in the gameweek.
Nice one, thanks very much.

t88
Treebeard
Posts: 261
Joined: 01 Dec 2010, 23:05

Re: Greasemonkey script to display team data on FPL league page

Post by t88 »

nickchild wrote:Have updated the script to reflect DGW players. They will remain in the TP (To Play) column until their 2nd game has started. They should also not move to the DNP (Did Not Play) column unless they have played 0 minutes in both games. There will now also be an indicator in the rollover of the TP column showing if a player has multiple games left in the gameweek.
Fantastic!!! Thanks for making the change so quickly!
Much appreciated. Your script is truely awesome!
Wished I'd known about it when you first mentioned it back in Sept last year. 8-)

User avatar
MPTree
Grumpy Old Man
Posts: 2008
Joined: 13 Oct 2013, 13:44

Re: Greasemonkey script to display team data on FPL league page

Post by MPTree »

MoSe wrote:as a user:
it has to do with the number of columns displayed...
a lot of info is offered, but if you display them all, something has gotta wrap (in the cell, not the row)

at the bottom of the table, you can find all the toggles, and there's Extra Wide On|Off too, it might help a bit
Aha! Thanks for this. Turned off the wildcard column & all fits perfectly.

User avatar
jeffmcgow
Dumbledore
Posts: 7624
Joined: 13 Oct 2005, 18:44
FS Record: FPL - FISO Mirror League 1st 2015-16 | Sun - Cheap as Chips Conference 1st 2014-15 & 2015-16

Re: Greasemonkey script to display team data on FPL league page

Post by jeffmcgow »

Great work as always Nick.

t88
Treebeard
Posts: 261
Joined: 01 Dec 2010, 23:05

Re: Greasemonkey script to display team data on FPL league page

Post by t88 »

has anyone tried this on an Android smartphone? If yes, pls let us know which browser on Android you used and the steps you did?

User avatar
NickyS247
Kevin and Perry
Posts: 19
Joined: 01 May 2015, 17:01

Re: Greasemonkey script to display team data on FPL league page

Post by NickyS247 »

This is incredible. Had it installed for about 10 minutes and am already wondering how I ever managed without it.

Cheers mate :D

User avatar
jeffmcgow
Dumbledore
Posts: 7624
Joined: 13 Oct 2005, 18:44
FS Record: FPL - FISO Mirror League 1st 2015-16 | Sun - Cheap as Chips Conference 1st 2014-15 & 2015-16

Re: Greasemonkey script to display team data on FPL league page

Post by jeffmcgow »

Ah, just noticed the "x2" for DGW players. Nice touch.

One possible bug though: PVA is showing in the "to play" column but not in the "played" column.

Maradona_Is_God
Red & Blue Braces
Posts: 470
Joined: 13 Oct 2005, 18:35

Re: Greasemonkey script to display team data on FPL league page

Post by Maradona_Is_God »

Are there any updates that we need to apply for the new season, or will it work as normal after the first GW points are updated?

I can't see current 'live' scores in my leagues.

User avatar
supersonic
Red & Blue Braces
Posts: 327
Joined: 30 Aug 2011, 13:08

Re: Greasemonkey script to display team data on FPL league page

Post by supersonic »

Any update Nick? Im lost without it :)

User avatar
Hogmeister
Dumbledore
Posts: 6852
Joined: 05 Aug 2010, 21:26
Location: Sitting in my tin can, far above the world
FS Record: Top 300 in all-time FPL rankings

Re: Greasemonkey script to display team data on FPL league page

Post by Hogmeister »

supersonic wrote:Any update Nick? Im lost without it :)
Me too :(

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

Looking at the code it's clear that a overhaul will be required. If you look at the team page, gone are the Wildcard listing on the right rail. I believe those will be shown in the team header as is the Triple Captain Played note (e.g. http://fantasy.premierleague.com/entry/ ... history/1/). I will play around in nick's absense tonight to see if I can get the core functions working without the WC data. Will keep you posted.

User avatar
MoSe
Dumbledore
Posts: 9550
Joined: 10 Sep 2014, 12:25
Location: next door S.Siro stadium
FS Record: FISODAS CUP Winner Season 25
FISO H2H Winner: 15/16 Div2 - 16/17 Div1
FISO Mirror: 16/17 PL Winner

Re: Greasemonkey script to display team data on FPL league page

Post by MoSe »

It also might have to do with the new column in History page
PB = Points on Bench
between Gameweek Points and Ranking

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

Did a bit of digging and there seems to be quite a bit of overhaul necessary to get this back running. As I am pretty novice a javascript I will defer to nick or at least until I have several hours to dedicate to playing around with it.

User avatar
GeezLouise
Kevin and Perry
Posts: 19
Joined: 13 Jul 2015, 08:54

Re: Greasemonkey script to display team data on FPL league page

Post by GeezLouise »

Just expressing an interest for getting this up and running again, loved it last year

OIEIAO
FISOhead
Posts: 981
Joined: 27 Aug 2014, 22:13

Re: Greasemonkey script to display team data on FPL league page

Post by OIEIAO »

Agreed would very much like to be able to use this again. Many thanks to those responsible for it.

User avatar
From4corners
FISO Jedi Knight
Posts: 20107
Joined: 24 Aug 2009, 22:32
Location: London

Re: Greasemonkey script to display team data on FPL league page

Post by From4corners »

Yes, please! I miss it! Thank you, SuperGrover, for picking this up, much appreciated. Hope to hear from nickchild soon as well :)

User avatar
jeffmcgow
Dumbledore
Posts: 7624
Joined: 13 Oct 2005, 18:44
FS Record: FPL - FISO Mirror League 1st 2015-16 | Sun - Cheap as Chips Conference 1st 2014-15 & 2015-16

Re: Greasemonkey script to display team data on FPL league page

Post by jeffmcgow »

This was so useful last season, a fantastic piece of software. Hopefully Nick or a similar java genius can get us up and running.

User avatar
sdhough
Treebeard
Posts: 246
Joined: 13 Oct 2005, 18:35

Re: Greasemonkey script to display team data on FPL league page

Post by sdhough »

Just wanted to add my thanks in advance for your efforts in getting this going again this season, was an excellent addition last time.

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

Hi guys!

Been at a wedding since Thursday so not had a chance to update this but will do so this week.

I'll have to wait until the next gameweek is live to grab all the required data but will update as soon as I can grab all the non-live stats.

Until then...

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

Just the wildcard status and live points that need fixing by the looks of things.

I don't see the wildcard info on the main team page, so I presume it will show up in gameweek history, under 'Chips' but not sure if we'll see when they have been activated until the gameweek is live.... I will add an extra column for the other 3 chips, if and when I can tell they have been played

User avatar
SuperGrover
Grumpy Old Man
Posts: 1540
Joined: 12 Sep 2012, 15:38
Location: Chicago, USA

Re: Greasemonkey script to display team data on FPL league page

Post by SuperGrover »

nickchild wrote:Just the wildcard status and live points that need fixing by the looks of things.

I don't see the wildcard info on the main team page, so I presume it will show up in gameweek history, under 'Chips' but not sure if we'll see when they have been activated until the gameweek is live.... I will add an extra column for the other 3 chips, if and when I can tell they have been played
Yeah looks like it. Here's an example of the Triple Captain played:

http://fantasy.premierleague.com/entry/1010522/history/

User avatar
jeffmcgow
Dumbledore
Posts: 7624
Joined: 13 Oct 2005, 18:44
FS Record: FPL - FISO Mirror League 1st 2015-16 | Sun - Cheap as Chips Conference 1st 2014-15 & 2015-16

Re: Greasemonkey script to display team data on FPL league page

Post by jeffmcgow »

Yay! Star man points go to nickchild, and SuperGrover picks up the assist :)

(But consider yourself a star too SuperGrover ;) )

User avatar
bcfc1903
Grumpy Old Man
Posts: 2219
Joined: 27 Sep 2008, 19:49
Location: Bradford. 9 miles west of Scumland.
FS Record: william hill champion 2010, 2012. all-inclusive league winner 2012, second x-league 2012.

Re: Greasemonkey script to display team data on FPL league page

Post by bcfc1903 »

jeffmcgow wrote:Yay! Star man points go to nickchild, and SuperGrover picks up the assist :)

(But consider yourself a star too SuperGrover ;) )
A big +1 from me.... :D

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

Script updated...

Wildcard and live points info now showing.

I have added a column for the chips. The value shows the number of chips played and the rollover will tell you in which gameweek each chip was played. When you look at a teams gameweek history there is a section showing the chips that have been played. There is also a 'status' value of 'Played' for the ones I have seen. Maybe this means we will see 'Active' when applicable but I won't know until I find one. For now I am just counting the rows in the chips table and checking for the 'Played' value. If there is anything else it will make the cell bold to alert me to a status other than 'Played' so keep your eyes peeled...!

User avatar
bcfc1903
Grumpy Old Man
Posts: 2219
Joined: 27 Sep 2008, 19:49
Location: Bradford. 9 miles west of Scumland.
FS Record: william hill champion 2010, 2012. all-inclusive league winner 2012, second x-league 2012.

Re: Greasemonkey script to display team data on FPL league page

Post by bcfc1903 »

Nickchild...amazing. Brilliant. Your efforts are very much, appreciated.

User avatar
asm_fanz
Grumpy Old Frog
Posts: 2847
Joined: 07 Sep 2013, 13:36

Re: Greasemonkey script to display team data on FPL league page

Post by asm_fanz »

Great work nickchild, thanks a lot

User avatar
nickchild
FISOhead
Posts: 648
Joined: 27 Jul 2006, 23:51
FS Record: 180th Overall FPL and X-League Winner 2008/09
Contact:

Re: Greasemonkey script to display team data on FPL league page

Post by nickchild »

Just updated again as I noticed the transfer point hits was slightly out. As there were no transfers made in the previous gameweek, the script then presumes the team has 2 free transfers, so I have added an extra check for GW2 and set free transfers accordingly.

User avatar
Moist von Lipwig
FISO Knight
Posts: 18227
Joined: 08 Jun 2011, 16:08
Location: The Eyrie
FS Record: FPL Spring 16 Winner 2010-11. Murfs F1 Predictions 2012 Winner. Pick Quick 2012-13 Winner. SP4s Predictions League A & Champions League

Re: Greasemonkey script to display team data on FPL league page

Post by Moist von Lipwig »

yes, thanks very much for taking the time to create a (incredibly useful) free resource for all

View Latest: 1 Day View Your posts
Post Reply

Return to “Fantasy PremierLeague.com (FPL)”