All users were logged out of Bugzilla on October 13th, 2018

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

RESOLVED FIXED

Status

RESOLVED FIXED
13 years ago
6 years ago

People

(Reporter: beltzner, Assigned: jslater)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

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) {
  // ...
}

Updated

13 years ago
Assignee: steven → nobody
Component: www.mozilla.org → www.mozilla.com
Product: mozilla.org → Websites
QA Contact: danielwang → www-mozilla-com
Version: other → unspecified

Updated

13 years ago
Whiteboard: [mozilla.com]
Is this still wanted?
If so, where do you want this download link on the new central?

Updated

10 years ago
Assignee: nobody → jslater
Our first run pages do inform visitors of newer versions now.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
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.