FISO News   Exclusive GBP35 bets from Titan Bet     FISO News   Rooney, Aguero, Suarez, RVP     FISO News   Admin's Spanish Holiday Apartment Rental Offer     FISO News   FISO Weekly Poker Game Thurs 9pm     FISO News   EPL Injury News Table     FISO News   Play Totel Football     FISO News   Play Coachbet     FISO News   Soccer Millionaire - 1st game free     FISO News   Weekend Football is Back!   


Post new topic Reply to topic  [ 258 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next
Author Message
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 02 Oct 2008, 20:27 
Offline
Grumpy Old Man
User avatar

Joined: Sun Aug 27 2006
Posts: 2004
Location: ЯEPUБLIK ФF MAИCUИIA
hi any chance you could add the teams overall ranking in the popup in the mini leagues, instead of the gw score which is already shown?


Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 02 Oct 2008, 22:07 
Offline
Grumpy Old Man
User avatar

Joined: Sun Feb 25 2007
Posts: 4658
FS Record: BoFDQ: Insane Horse of Doom
vinnyutd6899 wrote:
hi any chance you could add the teams overall ranking in the popup in the mini leagues, instead of the gw score which is already shown?

You can add this in yourself if you want:

Firefox: Tools :arrow: Greasemonkey :arrow: Manage User Scripts, click on Razza's one and click "Edit". This will bring the script up in Notepad (or you can open it manually if you know where it is saved).

To keep a copy in case you make a mistake, save it immediately with an altered name, eg put "old" in front of the filename. If you really muck it up, you can just reinstall the script anyway.

Now, scroll down to the bit that says

xmlHttp.responseText.match(/Gameweek \d+ Total: \d+/) + "<br>" +
xmlHttp.responseText.match(/Team value: \d+\.\d/) + "<br>" +
xmlHttp.responseText.match(/In the bank: \d+\.\d/);

And delete the bolded line - this will remove the Gameweek info from the popup. Then, in place of that line (or below or between the other lines, depending on the order you want the info to appear in the popup, insert the following line:

Code:
xmlHttp.responseText.match(/Overall: \d+ \(\d+,\d+,\d+|Overall: \d+ \(\d+,\d+|Overall: \d+ \(\d+/) +")" + "<br>" +


Before saving you may want to scroll up a bit and find the line
Code:
"    top:2em; left:2em; width:15em;" +
and change the 15 to a 20 to fit the first line on one line.

Now just save the file, and load or refresh any FPL league page, and the changes should be there.


ps not knowing javascript, this took me bloody ages - the first try only gave the overall points, not the points and rank, and the second try gave the correct rank, but only if the player was in the top 999, because any commas in the rank made a right mess of it! There's probably a better way to get round the commas, but hey ho, it seems to work!


Last edited by flyingkillercob on 02 Oct 2008, 23:24, edited 1 time in total.

Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 02 Oct 2008, 22:31 
Offline
Grumpy Old Man
User avatar

Joined: Sun Aug 27 2006
Posts: 2004
Location: ЯEPUБLIK ФF MAИCUИIA
[quote=

Firefox: Tools :arrow: Greasemonkey :arrow: Manage User Scripts, click on Razza's one and click "Edit". This will bring the script up in Notepad (or you can open it manually if you know where it is saved).


[/size][/quote]

hi done that but it dont comeup in notepad what file am i looking for? :?


Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 02 Oct 2008, 22:41 
Offline
Treebeard
User avatar

Joined: Mon Jul 14 2008
Posts: 185
Code:
xmlHttp.responseText.match(/Overall: \d+ \(\d+,\d+|Overall: \d+ \(\d+/) +")" + "<br>" +


This works fine for people in the top million, but i've noticed that only the first four digits are shown for people ranked below a million.

Example: A person ranked 1,213,456 is shown as 1,213.

I'd try and fix it myself but I wouldn't have a clue what i'm doing.

It's a nice addition though.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 02 Oct 2008, 22:51 
Offline
Kevin and Perry
User avatar

Joined: Sun Aug 31 2008
Posts: 22
razzatheking wrote:
Try the new beta. This should allow you to hover over a team's name on the league page to see their transfers and points.

Any feedback appreciated.


Absolutely legendary stuff mate!!!! Works a treat :D

Hope all this isnt taking up too much of your time. :lol:


Top
 Profile  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 02 Oct 2008, 23:22 
Offline
Grumpy Old Man
User avatar

Joined: Sun Feb 25 2007
Posts: 4658
FS Record: BoFDQ: Insane Horse of Doom
vinnyutd6899 wrote:
hi done that but it dont comeup in notepad what file am i looking for? :?

On my computer it's in C:\documents and settings\YOURNAMEGOESHERE\application data\mozilla\firefox\profiles\SOMERANDOMSTUFF.default\gm scripts\razzas_fantasy_premier_l

bossdrum wrote:
Code:
xmlHttp.responseText.match(/Overall: \d+ \(\d+,\d+|Overall: \d+ \(\d+/) +")" + "<br>" +


This works fine for people in the top million, but i've noticed that only the first four digits are shown for people ranked below a million.

Example: A person ranked 1,213,456 is shown as 1,213.

I'd try and fix it myself but I wouldn't have a clue what i'm doing.

It's a nice addition though.

Oh. Poo. Hadn't though of that. Try

Code:
xmlHttp.responseText.match(/Overall: \d+ \(\d+,\d+,\d+|Overall: \d+ \(\d+,\d+|Overall: \d+ \(\d+/) +")" + "<br>" +


instead. I'll edit my earlier post.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 03 Oct 2008, 12:12 
Offline
Grumpy Old Man
User avatar

Joined: Sun Aug 27 2006
Posts: 2004
Location: ЯEPUБLIK ФF MAИCUИIA
cheers mate !
dont mean to be cheeky but is the anyway you could take out the overall score? and leave just the overall rank? :oops: cheers :D


Attachments:
untitled.JPG
untitled.JPG [ 25.06 KiB | Viewed 2705 times ]
Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 03 Oct 2008, 18:44 
Offline
Grumpy Old Man
User avatar

Joined: Sun Feb 25 2007
Posts: 4658
FS Record: BoFDQ: Insane Horse of Doom
I did want to do it like that but don't know how! No doubt Razza would be able to do it, but I'll have a think about it anyway.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 04 Oct 2008, 23:07 
Offline
Wideboy
User avatar

Joined: Fri Sep 22 2006
Posts: 51
Absolutely love this. Amazing razza!
I will definitely be using the razza rating and megaton formula in any upcoming transfers I do.
Would it be possible to add another filter in the drop down menu, an amalgamtion of the razza and megaton (the razmaton?). Perhaps simply just the razza rating multiplied by the megaton rating? I'm not sure if it would add much mathematically, but I'd like to think it might cancel out (or multiply :? ) any flaws in each system.


Top
 Profile  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 05 Oct 2008, 08:14 
Offline
Treebeard
User avatar

Joined: Tue Jan 29 2008
Posts: 143
Location: Hampshire
Updated the BETA script http://userscripts.org/scripts/show/34431 I've done most of what was suggested for the tooltip type window, but instead of removing score I've updated it to only appear for provisional scores (this was always what was going to happen) I also show how many players have played in that case.

Let me know how this goes and once the GW has finished if all looks good I'll update the full version.

I'm not sure about having another filter (Razmaton rating), but if a couple of people want it I'll add it.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 05 Oct 2008, 09:48 
Offline
Red & Blue Braces
User avatar

Joined: Thu Sep 04 2008
Posts: 426
Location: Spain
FS Record: 28640....
Just a question: When are the totals on the league pages updated to reflect transfer costs? Is it as soon as the transfers are reset to zero or is it only when the end of the first days games are included in the total? I have a feeling it is the former but I can't remember.

If that's right then would it be possible/useful to get a real total (i.e. Points scored - Transfer costs + Provisional points)? Otherwise adding the provisional to the loast weeks total might be giving the wrong figure. As I say I can't remember how it actually works and this could be superfluous if I am wrong about how the stats are updated.

The other thing that might be nice is to also see if any subs are needed.

I guess actually calculating who would be the sub to fit in the formation and adjusting for their points scores might be a complex task but if it could just flag if any 1st team players hadn't played it would be easy for us to go and look deeper ourselves. Something like an extra line saying "Subs - Yes" or "Subs - No".

Bear in mind that I really don't know how difficult any of this is and this is just an observation - it all sounds difficult to me. Glad to have what there is already and, again, thanks.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 05 Oct 2008, 14:04 
Offline
Grumpy Old Man
User avatar

Joined: Sun Aug 27 2006
Posts: 2004
Location: ЯEPUБLIK ФF MAИCUИIA
the provisional score feature works perfect good work!!!


Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 06 Oct 2008, 19:18 
Offline
Grumpy Old Man
User avatar

Joined: Thu Oct 13 2005
Posts: 2492
Location: South of heaven
FS Record: FPL 08/09 - 3692, FPL 07/08 - 667, FPL 06/07 - 5992, FPL 05/06 - 108
I see you've done the subs points and the overall rank thing on the league pages razza. Thanks very much. 8-)


Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 06 Oct 2008, 21:00 
Offline
Treebeard
User avatar

Joined: Tue Jan 29 2008
Posts: 143
Location: Hampshire
I'm thinking of adding some more stats, but they make the transfer page a bit slow loading. What do people think about this?

1. Actim stats (only for the top 100 players) adds about 2 seconds to the load time
http://www.premierleague.com/page/Actim ... 06,00.html

2. TFF stats - adds about 6 or 7 seconds to load time
http://fantasyfootball.telegraph.co.uk/ ... x=0&code=N

I'm not sure they add much value, but I'm thinking of adding them as an option. Any other ideas (apart from this weeks boni, and boni(form))?

Cheers


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 07 Oct 2008, 08:35 
Offline
FISO Knight
User avatar

Joined: Tue Jan 02 2007
Posts: 10129
Location: Proud to be owned by DMWSL613 Limited
FS Record: CYKI FA Cup 2010 6th Round - top team
Not sure if I'd sacrifice load time for the stats on offer but if it's something you want to see and it can be offered as an option then knock yerself out ;)


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 22 Oct 2008, 09:48 
Offline
Grumpy Old Man
User avatar

Joined: Thu Aug 09 2007
Posts: 2123
Location: Why So Serious?
Not sure if this bug has already been mentioned but, when on the transfers page and you have transferred a player out and a new player in, the price of the old player is still displayed below the shirt, not the price of the new player.

I know it's very minor but it bugs me to hell. :lol:

Other than that, superb job my friend, it's awesome. I thank you.


Top
 Profile WWW  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 26 Oct 2008, 12:54 
Offline
Kevin and Perry
User avatar

Joined: Mon Sep 22 2008
Posts: 19
Just wanted to say a big 'thank you!' to Razza for his work on this... It's awesome! The things that people on this forum can do....

Just one minor thing - when on the transfer page and you open a players (now extended) information window the graphing option to compare more than one player doesn't seem to have any entries when you click on the drop down menu box. This is not a major issue as I can disable grease monkey and access this the normal way. I just thought I would mention it in case it hadn't been picked up.

Cheers again - another invaluable tool!


Top
 Profile WWW  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 12 Nov 2008, 21:21 
Offline
Grumpy Old Man
User avatar

Joined: Thu Oct 13 2005
Posts: 1025
Location: Thornton Heath: The real CR7
FS Record: William Hill Chiswick branch Euro 2008 league winner
Just added this stuff, it's grrrrrrrrreat!

Apart from all the stats, the smaller shirts make me feel like a big man.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 17 Nov 2008, 15:00 
Offline
Treebeard
User avatar

Joined: Fri Aug 15 2008
Posts: 199
Just a thought, how about a '% of teams owned by' weighted by how good the teams are? Or just a '% of top 500 owned' by?


Top
 Profile WWW  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 22 Nov 2008, 15:25 
Offline
Grumpy Old Man
User avatar

Joined: Sat Aug 12 2006
Posts: 1327
can you have too much of a good thing?


Top
 Profile  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 05 Dec 2008, 18:59 
Offline
Treebeard
User avatar

Joined: Sat Aug 23 2008
Posts: 154
A feature suggestion/request (though the script is already killer, thank you!)-

I'd quite like to see my own team in every league I look at.


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 14 Dec 2008, 23:52 
Offline
Grumpy Old Man
User avatar

Joined: Thu Oct 13 2005
Posts: 2492
Location: South of heaven
FS Record: FPL 08/09 - 3692, FPL 07/08 - 667, FPL 06/07 - 5992, FPL 05/06 - 108
Mine seems to have stopped working entirely for some reason. I've tried uninstalling and reinstalling the script and Greasemonkey itself but nothing seems to make any difference. Any tips? Firefox v2 btw.

Edit - Ignore me. I've "fixed" it. Doh!


Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 11 Mar 2009, 11:20 
Offline
Red & Blue Braces
User avatar

Joined: Fri Feb 23 2007
Posts: 302
Location: ( . )( . )
FS Record:
1424 - 07/08 :|
1119 - 08/09 :|
Forgive me if I'm echoing previous posts - but do you think there will be a definitive update soon? (with all the new ideas incorporated).

Mine works pretty well now, I'm just wondering really :)


Top
 Profile WWW FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 11 Mar 2009, 20:52 
Offline
FISOhead
User avatar

Joined: Mon Jul 07 2008
Posts: 621
For anyone who's interested I've found a script that removes the annoying buddweiser adverts!


Top
 Profile WWW  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 12 Mar 2009, 10:42 
Offline
Grumpy Old Man
User avatar

Joined: Thu Aug 21 2008
Posts: 2915
Location: Out of this world
FS Record: Also ran
What's wrong with adblock?


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 12 Mar 2009, 20:10 
Offline
FISOhead
User avatar

Joined: Mon Jul 07 2008
Posts: 621
can still see the ads with adblock


Top
 Profile WWW  
 
 Post subject: Re: FPL website fixes for firefox users - NEW VERSION 30/9/2008
PostPosted: 12 Mar 2009, 20:20 
Offline
Grumpy Old Man
User avatar

Joined: Thu Aug 21 2008
Posts: 2915
Location: Out of this world
FS Record: Also ran
Right click on the advert and select "adblock image". Done.

Unless I'm really missing something here...


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW Beta 6/4/2009
PostPosted: 06 Apr 2009, 17:08 
Offline
Treebeard
User avatar

Joined: Tue Jan 29 2008
Posts: 143
Location: Hampshire
As I've stated in my edited first post in this thread there is a new BETA available here http://userscripts.org/scripts/show/34431

Quite a few changes, and I can't remember them all, but a player's info popup now has their games split in to Home and Away to more easily compare their form at different venues.

Thanks to all those who've made suggestions, I've just been too lazy to implement them :oops: :lol:


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW Beta 6/4/2009
PostPosted: 06 Apr 2009, 17:34 
Offline
Grumpy Old Man
User avatar

Joined: Sun Feb 25 2007
Posts: 4658
FS Record: BoFDQ: Insane Horse of Doom
Ronaldo home PPG: 9.1 away: 3.7 :!:

Don't know if you already knew, but FPL have fixed the bit where you click a player's score in the transfer page to get the last 3 games/next 3 games info up.

Also, what is the Times doing in there? :lol:


Top
 Profile FPL Team Page  
 
 Post subject: Re: FPL website fixes for firefox users - NEW Beta 6/4/2009
PostPosted: 06 Apr 2009, 18:03 
Offline
FISO Knight
User avatar

Joined: Tue Jan 02 2007
Posts: 10129
Location: Proud to be owned by DMWSL613 Limited
FS Record: CYKI FA Cup 2010 6th Round - top team
Great stuff as usual Razza.

What is the Times doing in there though? :lol:


Top
 Profile FPL Team Page  
 
Display posts from previous:  Sort by  
Bookmark and Share
Post new topic Reply to topic  [ 258 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next

All times are UTC


Who is online

Users browsing this forum: Chinese Whisperer and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: