Sportsfox is a Firefox extension that allows you to keep your sports scores in a handy browser location. Sportsfox includes scores for NFL, NBA, WNBA, NHL, College Football, Men's College Basketball, and Women's College Basketball. Generally you should be able to download the latest version at Mozilla addons

Thursday, March 19, 2009

Background Colors Are Back

After corresponding with the folks at Firefox development, I was able to get the background colors working again. I also worked on a couple of other problems.

"Final" is now placed at the end of all complete games.

There was also a problem with NHL where the scores weren't displaying properly. Half of the score for the first game was displayed on the second game and the second on the third and so forth. That is fixed as well.

Football isn't working right now, but we'll worry about that later.

I'm sending the update in today. So maybe by sometime this weekend it will be approved and you can have background colors for your favorite team(s). It is much easier to follow that way.

I hope your NCAA brackets aren't busted yet!


.

sportsFox background Colors Update

UPDATE: The good folks at Firefox development informed me that it's not a bug. FF3 is supposed to work that way. In FF3 I now need to also set the moz-appearance property when I change the background color. Otherwise my background color would be ignored. I tried that out and they of course are correct.

The code looks something like this:

menuitem1.style.backgroundColor= GS_backgroundColor["main"];
menuitem1.style.MozAppearance = 'none';

So I will get the colors back working soon. I'm also working on the "view tomorrow/yesterday's games" function which is broken.

.

sportsFox background Colors

Well, I looked all night to find an answer to why the background colors are not being used in the sportsFox scores. I didn't find an answer anywhere. I can't be the only one in the world changing the background colors of a menuitem. Can I?

I tested the extension in FF2 and it works fine. So I don't know what the deal is.




I went ahead and put in a Bugzilla report for FF3 to see if it can get fixed. I'm sure they have a lot of work to do, so I don't expect it to get fixed anytime soon.



.

Wednesday, March 18, 2009

Highlight "my favorite team"

The code I have to highlight the favorite team actually works in FF2.* I have to see what has changed to prevent this from working.


Tuesday, March 17, 2009

sportsFox 1.10 March Madness Edition

SportsFox 1.10 is now available. And it's just in time for March Madness. Thanks to the approvers at addons.mozilla.org for the super quick turn around.

I see a couple of problems that need to be fixed:

  • Women's College Basketball seems to be doing something strange. I swear it worked last night at 11pm EST. But it's not working today at 10AM.
  • NBA and College BBall: Do not show "Final" at the end of the games.
  • NHL: Something strange is going on with the scores sometimes. It's including a bunch of HTML in the status of the game.
  • College Football and NFL I'm not really worried about right now since their season hasn't begun.
I might have some time to work on those problems soon. But as long as Men's College Basketball and NBA are working, most people are probably happy, right? :-)

UPDATE: I see what's happening with Women's College Basketball. There is actually no data for today. Last night ESPN was showing games for Saturday on their website. Today they are no longer displaying for today. So that should not be a problem.

.

Monday, March 16, 2009

sportsFox Updated

Latest Updates:March 16, 2009

The following sports have been fixed:

  • NBA
  • Mens College Basketball
  • Womens College Basketball
  • NHL
  • MLB
  • Removed Arena Football

It's in the sandbox, so hopefully it will be approved soon. I think I'm going to have to find a new source for my sports scores since ESPN keeps changing their format on me.

When it gets approved, the latest version is at:
https://addons.mozilla.org/en-US/firefox/addon/1687

.

Followers