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

Wednesday, August 12, 2009

ESPN NFL Scores Changed again

ESPN changed the way they do football scores again. Hopefully I will have the change done soon and approved before the regular season. I'm gonna have to look for another source I think.

Friday, May 22, 2009

Thursday, May 21, 2009

Sportsfox 1.15

I have submitted Sportsfox 1.15 that fixes all the problems I am aware of. I submitted it back on April 18th. Today is May 21st. I don't know what the hold up is. It usually doesn't take anywhere this long.

Saturday, April 25, 2009

View Current Game Details

When you click a game in the status bar, you should be able to see the game information or rather the game summary after the game is finished. You used to be able to do this, but after the ESPN format change, I haven't fixed it just yet. This is next up on my plate.

The current version is 1.15 when the folks at Mozilla get around to approving it. I submitted it back on the 18th. Today is the 25th. I'm just sayin..

Friday, April 17, 2009

sportsFox Screenshots

I did some code cleanup, have the colors working. We should be just about ready for the latest version of sportsFox. I have been testing on FF 3.0.8 and Minefield and everything has been looking good. I'm no longer going to be worrying about any versions lower than 3 because you should upgrade anyway. :-)









sportsFox Main Window


sportsFox Options Screen


sportsFox "ticker" window

Wednesday, April 15, 2009

sportsFox Being Updated

I have started cleaning up the code a little to get it up to "code" to be approved. It actually isn't as much of a re-write when I actually got into it. I did combine 3 javascript files into one though, because I couldn't figure out how to get them all to work with the new coding standards/methodology.

Basically, if I have 3 javascript files and I want all of them to belong to the same "package", how do I do that? Because if I code each of them the same way, the initial declaration in one package seems to blow away the declaration of another. And the same with the "pub"lic vars. I will have to see if there is some forum discussing this. I'm sure there is.

The code is actually kind of cool for javascript. Now if there was only a javascript IDE with Intellisense. That would be awesome!

The basic code that I am using  Mark Ziesemer came up with.  It basically lets me "wrap up" all of my "loose" javascript variables into a namespace and then access just the ones I make public from the XUL Chrome.  It's pretty cool.  Here is Mark's example:


if(!com) var com={};
if(!com.ziesemer) com.ziesemer={};

com.ziesemer.myPackage = function(){
var pub = {};
pub.name = "visitor";
pub.greeting = "hello " + pub.name;
pub.alertHello = function(){
alert(pub.greeting);
};
return pub;
}();

com.ziesemer.myPackage.alertHello();

of couse com.ziesemer belongs to Mark, so your should be "com.yourname" or whatever..
.

Monday, April 13, 2009

Add Experimental Addons

I see that we can now install "experimental" addons in Firefox. So you can actually install the latest version of SportsFox before it's "approved". Click the "see all versions" button on the first screen, and then the latest version will be displayed.

Wednesday, April 1, 2009

sportsFox Coding..

Looks like the coding of sportsFox will be slowing down a bit. I got this email for the latest version I submitted. Apparently they want to clean things up a bit. I didn't get the memo.. or wait.. maybe this IS the memo. Anyway, this is going to require some coding I hadn't planned on. So...... might not see any more updates until football season.

The following files of SportsFox 1.11 have been retained in the sandbox by a Mozilla Add-ons editor:


Review Information:
Reviewer: xxxxxxxx
Tested on Linux with Minefield
Comments: Since you last submission, we've enforced some important points of our policy: In order to prevent conflicts with other addons that may be installed by users, you need to wrap your 'loose' variables and functions within a JavaScript object. You can see an example of how to do this @ http://blogger.ziesemer.com/2007/10/respecting-javascript-global-namespace.html.



Thanks.

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