Closed Bug 319756 Opened 20 years ago Closed 14 years ago

Firefox Central should have a download firefox link if user isn't running latest version

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: beltzner, Assigned: jslater)

References

()

Details

Firefox Central (now "Welcome to Firefox") is both: 1. the page that you hit when you smack the throbber 2. the page that you hit when you first load an en-US Firefox build For people who are running <1.5 that smack the throbber (or start after installing an earlier version) we should include a download link that says "Upgrade to the latest version!" using the standard green-button style that's across all the moz.com sites. I'm guessing that this can be done with a little UA-sniffing. This should yeild the following experience: firefox 1.5 user - sees "Welcome to Firefox!" existing firefox <1.5 user - sees "Welcome to Firefox!" and "Upgrade to the latest version!"
Whiteboard: [mozilla.com]
Is there a snippet of JavaScript we can re-use that does the 1.5 vs. pre-1.5 detection that we can use, or should we write something ourselves?
var m = navigator.userAgent.match(/Firefox\/([0-9]*\.[0-9]*)/) if (m && parseFloat(m[1]) < 1.5) { // ... }
actually, slightly better would be var m = navigator.userAgent.match(/Firefox\/([0-9]+\.[0-9]+)/) if (m && parseFloat(m[1]) < 1.5) { // ... }
Assignee: steven → nobody
Component: www.mozilla.org → www.mozilla.com
Product: mozilla.org → Websites
QA Contact: danielwang → www-mozilla-com
Version: other → unspecified
Whiteboard: [mozilla.com]
Is this still wanted? If so, where do you want this download link on the new central?
Assignee: nobody → jslater
Our first run pages do inform visitors of newer versions now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.