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)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: marcoos, Assigned: endico)
References
()
Details
Attachments
(2 files, 1 obsolete file)
|
1.53 KB,
text/javascript
|
Details | |
|
1.30 KB,
patch
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•23 years ago
|
||
This is my modification of the stylesheets.js file.
Component: Web Developer → User
Comment 2•23 years ago
|
||
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
| Reporter | ||
Comment 3•23 years ago
|
||
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 :)
| Reporter | ||
Updated•23 years ago
|
Attachment #111339 -
Attachment mime type: application/octet-stream → text/plain
Comment 4•23 years ago
|
||
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
Comment 5•23 years ago
|
||
-> 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
Comment 6•23 years ago
|
||
Marek: are you able to update your patch here?
Gerv
| Reporter | ||
Comment 7•23 years ago
|
||
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. :)
| Reporter | ||
Comment 8•23 years ago
|
||
Attachment #111339 -
Attachment is obsolete: true
Comment 9•23 years ago
|
||
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
Updated•18 years ago
|
Product: mozilla.org → Websites
Updated•14 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
•