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
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,

So my app had been approved tonight!

You can see it in the app store here - https://itunes.apple.com/gb/app/fpl-live/id1039666919

Would be delighted if some of you download it. Any feedback hugely appreciated...

Also built a website detailing the app and the userscript if you need any help setting up - http://www.enicma.co.uk/fpl/

Enjoy!
Last edited by nickchild on 25 Aug 2016, 23:14, edited 1 time in total.

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 »

Congrats Nick! Will download on my work phone as soon as I get home. Hope it's a hit!

zomri
Wideboy
Posts: 61
Joined: 21 Aug 2013, 23:37

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

Post by zomri »

Wow this looks great Nick. Will download asap

I also have a question. How hard would it be to implement adding provisional bonus points, lets say after 60th minute, to Live and Total columns? I understand this would slow things down as you would have to manually parse BPS points of all players in the game and then calculate which ones get bonus, but i am not sure how slow would it be. Seen it implemented on FFFix and works great there, although they do it since minute 1 which kinda distorts points projection till about 60th minute.

I think it would be great addition to already magnificent product, if possible to implement of course.

propernorf
Cheetah
Posts: 3
Joined: 26 Aug 2016, 09:57

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

Post by propernorf »

nickchild wrote:Hi guys,

So my app had been approved tonight!

You can see it in the app store here - https://itunes.apple.com/gb/app/fpl-live/id1039666919

Would be delighted if some of you download it. Any feedback hugely appreciated...

Also built a website detailing the app and the userscript if you need any help setting up - http://www.enicma.co.uk/fpl/

Enjoy!
First of all, thank you for the amazing tool.

Am having a problem with sorting by game week toatal, it does sort it however only the current page, not the whole league. Any ideas ?

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 »

Can be added to SuperGrover's list!

2. Seems column sorting is no longer supported? it is not working for me - PARTIALLY FIXED. Increasing sort is functioning. Decreasing is not.
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported? - STILL ISSUE (minor)
6. Associated H2H league position
7. Wildcard played/active/unused
8. Include undeclared bonus points in live score
Last edited by nickchild on 26 Aug 2016, 14:17, edited 1 time in total.

User avatar
sstaffsw
Grumpy Old Man
Posts: 1917
Joined: 08 Dec 2011, 10:47
Location: Wolverhampton

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

Post by sstaffsw »

Thanks for the very useful tool Nickchild, I've downloaded your app aswell. Works great!

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 »

propernorf wrote:it does sort it however only the current page, not the whole league. Any ideas ?
it was that way last season too IIRC

I figured it was a given limit, the script used library functions for sorting, and those can only sort what's displayed on a page

User avatar
sjaugen
Treebeard
Posts: 123
Joined: 09 Aug 2015, 18:04

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

Post by sjaugen »

Checking out your app now Nick. Wanna support your great work

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 »

Thanks guys :D

I've now created a new thread dedicated to the app - viewtopic.php?f=18&t=122514

Any comments/suggestions/etc for the app can be posted there so as to avoid confusion with the userscript.

I will have the outstanding bugs and features added to this userscipt in time for GW4, after the international break...

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 »

MoSe wrote:
propernorf wrote:it does sort it however only the current page, not the whole league. Any ideas ?
it was that way last season too IIRC

I figured it was a given limit, the script used library functions for sorting, and those can only sort what's displayed on a page
That's correct, it is simply sorting then data on-screen.

It would be possible to sort using other pages, though this would be quite data hungry for global leagues as you would need to check a long way back as scores are tightly packed.

Opens up the idea of displaying more than 50 teams per page though, using an infinite scroll mechanism, then being able to sort again each time the next set of teams is loaded...

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 »

2. Seems column sorting is no longer supported? it is not working for me - PARTIALLY FIXED. Increasing sort is functioning. Decreasing is not.
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported? - STILL ISSUE (minor)
6. Associated H2H league position
7. Wildcard played/active/unused
8. Include undeclared bonus points in live score
9. Infinite scroll to load next 50 teams each time

propernorf
Cheetah
Posts: 3
Joined: 26 Aug 2016, 09:57

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

Post by propernorf »

nickchild wrote:
MoSe wrote:
propernorf wrote:it does sort it however only the current page, not the whole league. Any ideas ?
it was that way last season too IIRC

I figured it was a given limit, the script used library functions for sorting, and those can only sort what's displayed on a page
That's correct, it is simply sorting then data on-screen.

It would be possible to sort using other pages, though this would be quite data hungry for global leagues as you would need to check a long way back as scores are tightly packed.

Opens up the idea of displaying more than 50 teams per page though, using an infinite scroll mechanism, then being able to sort again each time the next set of teams is loaded...
Infinite scrolling would be great !! appreciate your support !

User avatar
kidzio
Wideboy
Posts: 53
Joined: 06 Sep 2015, 14:42

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

Post by kidzio »

nickchild wrote:2. Seems column sorting is no longer supported? it is not working for me - PARTIALLY FIXED. Increasing sort is functioning. Decreasing is not.
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported? - STILL ISSUE (minor)
6. Associated H2H league position
7. Wildcard played/active/unused
8. Include undeclared bonus points in live score
9. Infinite scroll to load next 50 teams each time
Firstly, congrats for the app and thanks again for the script!
May I add another problem to this list? I have attached a photo.
bench boost points not added.PNG
2. Seems column sorting is no longer supported? it is not working for me - PARTIALLY FIXED. Increasing sort is functioning. Decreasing is not.
3. Previously you showed the full team when you clicked on the league position of the team. That was helpful to determine bench positions for auto-subs. Is that still supported? - STILL ISSUE (minor)
6. Associated H2H league position
7. Wildcard played/active/unused
8. Include undeclared bonus points in live score
9. Infinite scroll to load next 50 teams each time
10. Bench Boost points not added to "live" and "total"
You do not have the required permissions to view the files attached to this post.

User avatar
kidzio
Wideboy
Posts: 53
Joined: 06 Sep 2015, 14:42

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

Post by kidzio »

FPL has finally noticed what we needed and has officially implemented something similar to what nickchild has done. Use your desktop to check. Not applicable to mobile page at the moment.


Sent from my iPhone using Tapatalk

Paulista
Grumpy Old Man
Posts: 1945
Joined: 13 Aug 2016, 07:49

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

Post by Paulista »

kidzio wrote:FPL has finally noticed what we needed and has officially implemented something similar to what nickchild has done. Use your desktop to check. Not applicable to mobile page at the moment.


Sent from my iPhone using Tapatalk
Which changes have been applied? I don't see anything different.

User avatar
kidzio
Wideboy
Posts: 53
Joined: 06 Sep 2015, 14:42

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

Post by kidzio »

Paulista wrote:
kidzio wrote:FPL has finally noticed what we needed and has officially implemented something similar to what nickchild has done. Use your desktop to check. Not applicable to mobile page at the moment.


Sent from my iPhone using Tapatalk
Which changes have been applied? I don't see anything different.
Check using Chrome. It's not showing on Explorer or Mozilla.


Sent from my iPhone using Tapatalk

User avatar
FPLCasual
Kevin and Perry
Posts: 19
Joined: 21 Feb 2016, 01:37

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

Post by FPLCasual »

kidzio wrote:FPL has finally noticed what we needed and has officially implemented something similar to what nickchild has done. Use your desktop to check. Not applicable to mobile page at the moment.

BetterFPL extension is the reason, not FPL site.

User avatar
kidzio
Wideboy
Posts: 53
Joined: 06 Sep 2015, 14:42

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

Post by kidzio »

FPLCasual wrote:
kidzio wrote:FPL has finally noticed what we needed and has officially implemented something similar to what nickchild has done. Use your desktop to check. Not applicable to mobile page at the moment.

BetterFPL extension is the reason, not FPL site.
My bad. It should be clear to me that it is from a separate script when I am only seeing it on chrome and not all chrome users see that. I only disabled nickchild's script but forgot to disable better FPL to check. Thanks for the info FPLCasual.


Sent from my iPhone using Tapatalk

RedStarGeylangFC
Newbie
Posts: 1
Joined: 28 Aug 2016, 04:47
FS Record: 1

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

Post by RedStarGeylangFC »

Thanks Nick

User avatar
BBG
Cheetah
Posts: 3
Joined: 17 Aug 2016, 08:58
FS Record: 3 Times Top5k finish in FPL

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

Post by BBG »

SuperGrover wrote:
BBG wrote:Not working on my chrome. Please help!
What exactly isn't working? Can you confirm the version in TamperMonkey?

http://imgur.com/a/9vZSR

Script is not run when I visit Leagues page. Reftresh/F5 is not working either. :(

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 »

Congrats on the app release! Will you have an Android app too?

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 »

Sorting is now fixed

I have re-added the squad list toggle - Click the 'T' in the teams position cell or at the top of the column to show all teams

Wildcard played/available display fixed

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 »

Many thanks Nick for your continued efforts with this script.

User avatar
djskope
Red & Blue Braces
Posts: 499
Joined: 07 Jan 2015, 11:54

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

Post by djskope »

Great stuff Nick - thanks!

zomri
Wideboy
Posts: 61
Joined: 21 Aug 2013, 23:37

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

Post by zomri »

nickchild wrote: I have re-added the squad list toggle - Click the 'T' in the teams position cell or at the top of the column to show all teams
i can confirm this works now. thanks a million, nick.

hover over player names to show their points however doesn't work for me. this feature was useful to determine rivals' points from bench in mini-leagues.
also clicking on arrow to show just one team isn't supported (?) with this version.

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 »

zomri wrote:
nickchild wrote: I have re-added the squad list toggle - Click the 'T' in the teams position cell or at the top of the column to show all teams
i can confirm this works now. thanks a million, nick.

hover over player names to show their points however doesn't work for me. this feature was useful to determine rivals' points from bench in mini-leagues.
also clicking on arrow to show just one team isn't supported (?) with this version.
Try the 'T' in the team's position cell...

I'll re-add the points on rollover

zomri
Wideboy
Posts: 61
Joined: 21 Aug 2013, 23:37

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

Post by zomri »

nickchild wrote:
zomri wrote:
nickchild wrote: I have re-added the squad list toggle - Click the 'T' in the teams position cell or at the top of the column to show all teams
i can confirm this works now. thanks a million, nick.

hover over player names to show their points however doesn't work for me. this feature was useful to determine rivals' points from bench in mini-leagues.
also clicking on arrow to show just one team isn't supported (?) with this version.
Try the 'T' in the team's position cell...

I'll re-add the points on rollover
Thanks, works like a charm!

User avatar
Fuzzy
Grumpy Old Man
Posts: 1699
Joined: 24 Jul 2010, 10:28
Location: on a different wavelength
FS Record: meh

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

Post by Fuzzy »

Hi Nick;

Not wanting to be a pain, but are you planning to get this working for H2H leagues again?

User avatar
SloopJohn
Kevin and Perry
Posts: 44
Joined: 01 Dec 2012, 17:06

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

Post by SloopJohn »

Hi Nick, I downloaded your app but I can't enter my team ID? Every time I enter 'save' it doesn't actually save...

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 »

Fuzzy wrote:Hi Nick;

Not wanting to be a pain, but are you planning to get this working for H2H leagues again?
H2H league position now working again.

This willl display the position for each team in an associated H2H league, where the league names start with the same value. eg. My League = My League or My League = My League H2h etc

View Latest: 1 Day View Your posts
Post Reply

Return to “Fantasy PremierLeague.com (FPL)”