Closed Bug 188769 Opened 23 years ago Closed 23 years ago

Make Mozilla 1.0 start page work in Opera

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marcoos, Assigned: endico)

References

()

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.3a) Gecko/20021212 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.3a) Gecko/20021212 Some people informed me that they use Mozilla 1.0 start pages for evangelizing. And some Opera users have switched to Mozilla after reading it. :) So I thought it'be nice to change the stylesheets.js to work under Opera 7. It needs just simple corrections. I've already updated the stylesheets.js in the Polish translation of Moz start pages. Reproducible: Always Steps to Reproduce: 1. Go to Mozilla 1.0 startpages with Opera 7. Actual Results: 1. See no style switcher at the bottom.
This is my modification of the stylesheets.js file.
Component: Web Developer → User
Could you please use the Doctor (the "Edit This Page" link) to produce a diff? Obviously, the style sheet itself doesn't have an "Edit This Page" link on it, but it's fairly easy to hack the URL of another Doctor session. e.g. http://doctor.mozilla.org/?file=mozilla-org/html/start/1.0/defaultstyle.css Gerv
Attached file Results from doctor.mozilla.org (obsolete) —
This is the whole output (from the gray field) of doctor.mozilla.org after my changes to www.mozilla.org/start/1.0/stylesheets.js (Note: stylesheets.js - not some *.css files :)
Attachment #111339 - Attachment mime type: application/octet-stream → text/plain
OK. Point 2: just make the changes you need to change. I can't see what's going on here because you've put extra blank lines in loads of places. Have another go :-) Gerv
-> moz.org
Assignee: rudman → endico
Component: User → webmaster@mozilla.org
Product: Documentation → mozilla.org
QA Contact: rudman → imajes
Summary: How about making that page work in Opera 7? :) → Make Mozilla 1.0 start page work in Opera
Version: unspecified → other
Marek: are you able to update your patch here? Gerv
Ok, I used doctor once again without putting new lines. The patch produced by it will follow this comment. The changes are simple - removing the is_gecko checks, since any standards compliant browser should manage to execute the code, so there's no need in limiting access. And this if-statement is useless: if ( title == "Very Simple" || title == "Light Blue" || title == "Orange" ) because the script works ok without it, too. And causes that we have to modify the script every time we add a new stylesheet. :)
Fixed. Checking in stylesheets.js; /cvsroot/mozilla-org/html/start/1.0/stylesheets.js,v <-- stylesheets.js new revision: 1.2; previous revision: 1.1 done Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: mozilla.org → 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.

Attachment

General

Created:
Updated:
Size: