Closed Bug 247675 Opened 21 years ago Closed 19 years ago

Rework download.js for product page

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: danielwang, Unassigned)

References

Details

Attachments

(2 files)

1. don't use UA detection. Work the language so MacOS 9 users know there are no releases for them. 2. don't hardcode download path in .js. Instead, embed JS code in product pages: like var gWin32DownloadLink = %%var%%; 3. don't generate <table> (since the site HTML will 'break' in ns4 anyway) 4. put in products/ directory for sharing
very incomplete. catch-all script for sidebar, product page, and front page. For Mac OS, this script only checks for navigator.platform.indexOf("Mac") and put out a link for Mac OS X. I'd assume Mac OS 8/9 people will click the "Other Systems" link and find out there's no build for them. It's not ideal but surely beats UA sniffing.
Comment on attachment 151488 [details] products/download.js v0.1 > if (url.indexOf(ftp.eu.mozilla.org) != -1) { nice js.
*** Bug 248353 has been marked as a duplicate of this bug. ***
reassigning endico's bugs to default owner
Assignee: endico → mozilla.webmaster
*** Bug 266856 has been marked as a duplicate of this bug. ***
Assignee: www-mozilla-org → nobody
QA Contact: danielwang → www-mozilla-org
This seems like something mozilla.com uses now. Moving there.
Component: www.mozilla.org → www.mozilla.com
Product: mozilla.org → Websites
QA Contact: www-mozilla-org → www-mozilla-com
Version: other → unspecified
Closing unless I hear differently.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
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.

Attachment

General

Creator:
Created:
Updated:
Size: