Firefox & Thunderbird Download Counters

News Feed

Image Counter

There are several pre-designed download bars that can be used to show the number of downloads of Firefox there has been. It is simply a matter of copying the supplied code into your site. You may want to change the URL used in the link to your own. I use my SpreadFirefox.com referrer link so the person gets the Firefox download page and I know how many clicks there has been.

The download counter was rewritten in late July 08 to make it more stable, problems with accessing the official number published by Mozilla around the release of Firefox 3.0 had broken the script.

If you want to show your thanks for creating this, please leave my spreadfirefox.com or spreadthunderbird.com links in.

JavaScript

Did you know Firefox has been downloaded almost 500000000 times and Thunderbird almost 100000000

Yes the final method is to use JavaScript. This is as simple as putting the below two snippets of code in your page.

Firefox

Place this where you want the number to appear. You can put some text inside it like I have just incase JavaScript is disabled.
<span id="firefox-downloads">almost 800000000</span> Place this anywhere in your page after the above snippet
<script type="text/javascript" src="http://codefisher.org/firefox/download.js"></script>

Thunderbird

<span id="thunderbird-downloads">almost 100000000</span> <script type="text/javascript" src="http://codefisher.org/firefox/download.js?app=tb"></script>

Getting the download number via Script

If you like you can also add the download counter into something of your own. To do so you can get the download number from the following URLs. Unlike the Mozilla download feed, it only contains the numbers and nothing else. It is also kept ticking over at a rate made from the average change over the last day, the Mozilla feed only changes every 5-15 minutes.

http://codefisher.org/firefox/download Or if you want to get the rate at which it is changing per second (average from last 100 checks) use (numbers separated by ":") http://codefisher.org/firefox/download?change=true