Closed
Bug 247675
Opened 21 years ago
Closed 19 years ago
Rework download.js for product page
Categories
(www.mozilla.org :: General, defect)
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
Reporter | ||
Comment 1•21 years ago
|
||
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.
Reporter | ||
Comment 2•21 years ago
|
||
Comment on attachment 151488 [details]
products/download.js v0.1
> if (url.indexOf(ftp.eu.mozilla.org) != -1) {
nice js.
Comment 4•21 years ago
|
||
*** Bug 248353 has been marked as a duplicate of this bug. ***
Comment 5•21 years ago
|
||
reassigning endico's bugs to default owner
Assignee: endico → mozilla.webmaster
Reporter | ||
Comment 6•21 years ago
|
||
*** Bug 266856 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Assignee: www-mozilla-org → nobody
QA Contact: danielwang → www-mozilla-org
Comment 7•20 years ago
|
||
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
Assignee | ||
Updated•13 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Assignee | ||
Updated•13 years ago
|
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.
Description
•