Microsoft Sends Broken Stylesheets to Opera
An anonymous reader writes "The Register has a story that the MSN homepage serves a different style sheet to the Opera web browser that makes Opera appear to be broken. Is this deliberate or a mistake? Who can possibly say? Opera's own take on the situation can be found here." This is not the first time.
Send us your Linux Sysadmin articles.
Geeky modern art T-shirts
Seriously, isn't this why the W3C tries to make people follow standards? So it doesn't matter what browser you use, it should all work?
Anyone, including Microsoft, who writes a site that serves seperate pages to different browsers is doing a disservice to the public.
..if there's an innocent explanation for this, it wouldn't be the first example of paranoia from Opera's general direction this month.
Opera should respond by automatically translating any page on the Microsoft web site into German and back again with Babelfish.
I have Opera set to identify as MSIE 6.0. Maybe there's something I'm missing out on by doing so, but at least this way I don't get warnings from Hotmail or, as this article says, different pages.
I'm starting to think this isn't the best place to promote my Anti-Sig Campaign.
It would be nice to see a browser capable of masquerading around as IE or Netscape to decieve these foolish websites into not knowing what they are.
I've heard plenty of stories of forms suddenly working when a feature in a browser was changed to show Internet Explorer for Windows/Mac, and otherwise breaking when they work just fine. Or in my case, I came across a site that said IE and Netscape only, but used Opera and it worked perfectly - this sort of ignorance on the part of web developers really is intolerable.
I think we should give Microsoft the benefit of the doubt here. I mean, it's really easy to slip up and identify a specific user agent, and serve a web page to it that has a content margin set to -30 pixels. We've all done it before, right?
...
I love the bald-faced lying that MS pulls out for this behavior. "We're heavily invested in following standards." or "We're trying to produce the best site for all viewers." Yeah, right. Explain why there would be any reason at all to force every child entity 30 pixels to the left of its parent. For that matter, why does MSN still use the tired old hack of sending different pages to each browser? I don't need 4 versions of my site to handle every viewer. Amazing.
Illegitimi non carborundum
..is fucking irritating. Don't mess with it!
NO! It it not necessary. It just makes things worse in the long run, so if you're doing this _you're_ part of the problem, so don't complain about how you have to treat browsers differently.
Sheeesh. Write to the standards, not browsers.
(And no, this isn't "insightful", it's totally _obvious_ to anyone with a clue)Belief is the currency of delusion.
Why did they pick Opera, and not Mozilla or Netscape, not to mention Safari?
Just tried www.msn.com with Opera 7. No matter what I set the agent identification to, msn keeps sending the wrong (faulty) stylesheet.
It looks like MSN uses more advanced techniques to find out what the client is than just the agent identification, in order to sabotage Opera in this case.
....this doesn't make much sense. MS makes a lot of money based on the popularity of their MSN portal. this portal links to a lot of their other properties as well and it is against their best interest to make it difficult for users with a different browsers to access this page.
one would think that since they want people coming to this page and accessing it regularly they would make it easier for them to get here.
conspiracy theory aside this doesn't make sense from a business point of view. i have a feeling this is a mistake of some sort.
"Unlike most of you, I am not a nut." - Homer J. Simpson
I think you miss the point. People don't use alternative browsers because of bullshit like this.
Isn't MSN meant to be commerically independent of Microsoft?
Older version of IE were also purposely broken in the same way; forced obelesence? As a regular Opera user I notice the same problem on some portions of the Microsoft web site as well (not just MSN).
To me this just proves that the remedy isn't working, that MS as a company prefers dirty tricks to competition and that the states that have not agreed to settlement had better press MS hard. (Wow holy run on sentence batman). It's sad that a company as successful and as full of talented people as MS has to resort to this type of behavior when a competitor comes out with a good product.
I'm reminded of a famous quote "Can't we just all get a long". I guess if your MS and you can't or won't compete the answer is no.
"Science is about ego as much as it is about discovery and truth " - I said it, so sue me.
Why?
Why browse with flash, style sheets, scripting or Java turned on?
I have one site that requires IE and most days I never turn it on.
If it can't be written in plain text then it's probally not something I really need to read.
Henry J. Cobb http://www.io.com/~hcobb Any sufficiently cool technology is indistinguishable from religion.
It is Microsoft's website afterall.
Who says it has to work with other companies browsers?
If you don't like it, either use IE (not me thanks) or not visit the website (that would be me).
Microsoft will notice the lack of ad revenue. Then they might fix it. If it is enough for them to care. Being that this is Opera, I kind of doubt it.
For a while I had to change my User-Agent string under Mozilla to that of IE6 under WinXP when visiting MSDN pages. Thanks Mozdev's uabar, and later Xulplanet's prefbar! Content served to Mozilla UA strings was unreadable with much of the text over-lapping. This went on for almost a year, but it seems to have been okay for about a month.
:D The whole time though, I had no problem with the MSDN subscriber downloads site, which even had a message for Netscape users.
Rather coincidentally, it was fixed shortly after I filled out a MSFT survey that appeared as I tried to leave the site - I claimed I was leaving because I was fed up with changing my UA string. Of course, I'm not conceited enough to think they fixed their problems because of me
Comment removed based on user account deletion
I just tried what the Opera folks said, and it's giving me a page that is a much different size than they say they received, and doesn't appear to render incorrectly. I dunno, maybe MS "fixed it"...
According to the web logs on the various sites I host, Mozilla and other Gecko-based browsers make up almost 15% of web traffic now, and Opera has a signficant enough user-base that it also makes it into the top 10 user-agents on web sites that get 1M+ hits per month from 100+ countries. I think the problem is that people need to move away from Microsoft web deveopment tools until they can learn to play nice and output standards-compliant HTML code. Ever try using the "save as HTML" feature in a Microsoft product? A 100-row table becomes a 2MB plaintext file by the time it makes it to the web...
I used to have different style sheets for different browsers in an effort to make my websites look good for all of them. More than once I updated some of the html and only tested the pages in IE where they looked fine (I know, I know, but programmers are naturally lazy.) It turns out the style sheets for the other browsers totally made the pages look broken. I'm not defending MS. It would not surprise me if they did it on purpose, but I am saying it is easy to do. Now I just have one style sheet and I made sure to use simpler html that would look good on all browsers. Sometimes simple is better.
Pocket PC Games
I also use Konq once in a while when a site tells me I don't have the right browser. I have it set to report that it's IE and that works just fine. It really pisses me off that by telling the server it's IE, it can display the page perfectly. Why do people require a specific browser? That's just plain ignorance.
How is it that one careless match can start a forest fire, but it takes a whole box to start a campfire?
You can see how webpages react to various browsers at www.wannabrowser.com
I'm not going to bother posting the results here but it's easy enough to see for yourself what the differences are.
Ben
Work Safe Porn
The same thing happens on some versions of the support.ms.com site and it's annoying as hell. I belive that MS just takes the default IE one and then strips out what they think to be for "inferior browsers" which leaves a broken and messed up template.
MS are free to serve up whatever they like on their servers. You don't have to go to msn.com, nobody is forcing you. So while this seems unethical nobody is being coerced into anything. An alternative might be to have laws that force companies to serve up sensible HTML to all browsers. How is that going to be implemented? That would be one hell of a legal nightmare. And what about people who write shoddy HTML for all platforms? Should they be punsihed less than people who can at least get it right for some platforms? So while we might not like what MS is doing there really isn't anything you can do about it. If you need to use msn.com, don't use Opera. If you like Opera, don't use msn.com. Nobody is forcing you to do anything.
Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
MSN (and other Microsoft sites) is very IE-centric. It uses several IE features, so probably it would already seem broken to Opera or Mozilla users. Probably that's why they serve a different stylesheet, to make the site work with other browsers. The reason why it doesn't work? Well... do you expect any Microsoft product to work flawlessly? ;o)
Just kidding, of course. I think it doesn't work with Opera because nobody uses Opera anyway :o)
If you read the article you would see that Opera is perfectly capable of rendering the page that MSN sends to IE. If you change Opera to identify itself as IE, no problem.
p ng
The problem here is that if you've set Opera to the report the true user-agent, MSN sends a page with a broken CSS file that tells the browser to render the content so that the page becomes unreadable--Here, they set a negative margin on content in some divs so that the first couple words in any column are overlapped by the div to the left, frustrating the viewer. Even IE chokes on the page they give to Opera:
http://deb.opera.com/howcome/2003/2/msn/opera7.
This is sabotage.
Read the original report here:
http://deb.opera.com/howcome/2003/2/msn/
-- "Is this death or is this Ohio?"
am I mistaken or can't opera report itself as MSIE?
Yes, it can.
But why should it? It just encouranges the stupidity of most 'web designers' who look at logs and say 'Oh, 98% of visitors use MSIE5/6, no need to write correct code, just kludge some MS-only code together'. Lather, rinse, repeat.
User-Agent string fascism and spoofing is a classic chicken and egg situation. Except the chicken in this case is an MCSE armed with MS Frontpage.
How is it insightful to think that 85% of /. users don't know what a browser is? Perhaps this post was so modded because of the insightful use of higher mathematics - 85 + 5 = 90 on a yes/no question....
Do you know what a browser is? (Yes/No)
Yes 5%
No 85%
I use IE 10%
And we wonder why IE centrics can't get their pages right?
--
As a matter of fact, I am a lawyer. But I play an actor on TV.
This is fine for a personal or hobby site but for e-commerce, you need to write to users, not standards. It makes no difference to the user that your page is coded to standards if he/she can't view it. Telling them they need a different browser isn't the answer either. Showing them what they want, in a manner that works correctly with their browser, is unfortunately the best solution if you want to be profitable.
I've had to code drop down menus differently for different browsers to get things to look the same, however when I'm done, you get the exact same page, with everything the same size and in the same place in IE, Netscape, Mozilla, and Konqueror. I've never used Opera so I don't test that one, but I guess I probably should.
How is it that one careless match can start a forest fire, but it takes a whole box to start a campfire?
but it really looks like an honest typo in the style sheet. i can understand how they'd be pissed, but did they try contacting MS to get it fixed first? the fact that the server sends a client-specific style-sheet isn't exactly damning. it's a very common (though misguided) practice.
never attribute to malice that which can be explained by stupidity.
No, it shouldn't. Not when they have 90% of the market share. This is monopolium, not free competition, and the same rules don't apply in this case.
From the old article, one of Microsoft's marketing directors should get his facts straight:
... He added that Microsoft wants users to visit the Web site "regardless of the browser they choose."
"We supported the latest W3C standards when developing the content and services delivered from MSN,"
But Visse recommended that for the best experience with MSN, customers should use a browser that tightly adheres to the W3C standard.
"If customers choose to use a browser that does not tightly support W3C standards, then they may encounter a less then optimal experience on MSN," he said.
except, that if you ask the W3C validator, it doesn't work!
www.microsoft.com
www.msn.com
Microsoft has a long history of intentionally breaking compatibility with other products to promote their own, as early as (and maybe earlier) the Windows 3.1 -> 3.11 "upgrade" which conveniently broke the diagnostic and repair software PC Tools.
There is very little future in being right when your boss is wrong.
This isn't the same thing at all. MSN isn't blocking Opera-users from its website, its deliberately serving them a different (and somewhat broken) website in an effort to make the user think something is wrong with Opera. I don't see why they shouldn't be able to do it, but its still deceptive... and I don't blame Opera for being mad. If Real identified non-genuine realplayers and served them with a different clip that looked garbled and had choppy audio I'd be saying the same thing. If they spent half as much time working on their products as they did trying to make everyone else's products look bad I don't think they'd take as much criticism.
This is also the company that came up with a web site that doesn't work in their own web browser! IE2, which came as the default install with Windows 95 can't access the Microsoft web site, especially not the IE download pages where you would go to update to a newer version. It doesn't even have the smarts to throw up a 'you must download a newer version from here' link. It simply fails with a scripting error. The only way to upgrade IE on a Windows 95 machine from the default install was to use IE2 to download Netscape, which could then be used to download a new version of IE. Nuts.
On (semi) related topic. Why has slashdot.org blocked validator.w3.org? Are they embarresed by the results? After all I can always do a "Save as" and then upload the page to the validator.
Pretty childish, if you ask me.
J.
Opera: Microsoft is hurting our style
Comment removed based on user account deletion
I mean, it's not uncommon for large companies to play dirty because they know noone can possibly go after them unless they do something really, REALLY bad and cause MAJOR difficulties. Breaking the law a bit here and a bit there is okay though, you are safe.
Sounds like a real problem with the legislation system.
Human history becomes more and more a race between education and catastrophe.
H.G. Wells, "The Outline of History"
MS lost out bigtime by failing to convince the cellphone manufacturers to adopt their embedded OS - most of the bignames plan to use Simian (is that how you spell it) which uses Opera as its browser.
The reality is that most windows users will never change their browser from IE to something else, so they are not afraid of Mozilla, konq, Safari, etc.
The cellphone market on the other hand is HUGE, and given recent advances in wireless bandwith, has the potential to be highly lucrative.
More than likely its probably safe to say that a significant percentage of all web browsing in the future will be on cellphones.
They are attempting to ensure that non MS cellphones can't surf the web properly, in an attempt to make consumers prefer buying MS enabled webphones, which in turn will generate more revenue in the embedded market for them, which they desperately need.
Just my opinion tho - can never tell what does guys are up to...
If I went to MS's site and the webpage they sent was broken, I would think MS had an incompetent webmaster who didn't know HTML. I wouldn't think Opera was broken.
Outdoor digital photography, mostly in New Engl
Currently I am presenting completely bogus user agent strings (for example how about being a misconfigured version of a Cisco PIX v6 beta antivirus proxy or some such other nonexistent crap.) MSN page still shunts stuff off to the left even though I'm definitely not using Opera.
"Don't belong. Never join. Think for yourself. Peace." V.Stone, Microsoft Corporation
I disagree completely...
I can write a page that looks good in EVERY browser, including NS4 and lynx. So can you... so can anybody...
all it takes is a little time, and a bit of a brain.
Unfortunately, far to many people in web dev don't have brains, and far too many to "save time" use wysiwyg crap to gerate code for them.
having muyltiple pages for multiple browsers is a sign of not doing it right the first time, not a 'service'.
Department of Homeland Security: Removing the rights real patriots fought and died for since 2001
Actually, that should read any page with MSIE under osx doesn't render right. I'd say 3 out of 5 pages I browse under IE has spotty page rendering. I have to resize the window to get the screen to redraw and display properly. And I'm using g4/400mhz, osx 10.2.1, MSIE 5.2.2. More and more Chimera is becoming my browser of choice...
----
Spam subject of the moment: Offshore account secrets -nashville disrupt
For Microsoft, this is a win/win. If Opera users change their user-agent identification, it look to browser statistics as if Opera has ceased to exist. "No one is using Opera," says Microsoft. If Opera users fo no change their user-agent identification, Opera users are inconvenienced (and may not use the browser) and no Opera hits are recorded at Microsoft sites. "No one is using Opera," says Microsoft.
Neat, huh?
Since I do use Opera as my primary browser, and have since it came out, I tried clicking on the MSN link to see what would happen. Nothing. Took me a bit to remember why.
I have well over 100 msn sites loopbacked in my hosts file (along with lots of advertising and pop up sites) on all computers, using Andrew Short's file as a starting point (http://remember.mine.nu). I can always try Mozilla if a site doesn't look right, but I'm not going to reboot for the rare useful content on MSN!
Baloney... a well-designed site, with good logical structure and proper ALT attributes, for instance, will work fine on Lynx while looking attractive on graphical browsers.
Browser-sniffing has led to the ridiculous situation of an "arms race" between webmasters doing clueless redirects or blockages based on user agent string and browser makers putting in "cloaked" user agent strings that pretend to be some other browser, to the detriment of logic.
--Dan
Web Tips
I wonder how many of those IE hits are from people like me who use Opera (or another browser) set to report that it's IE.
No, no, NO! A web site that is properly designed and standards compliant can send exactly the same web page to IE and Lynx and have it render properly in each. That's a major point of the HTML 4 standard. Of course that standard compliance includes things like including ALT tags in images and providing regular links in addition to image maps, which some people seem strangely reluctant to do. But if you actually follow the standard, you can make pages that look good in graphical browsers and are still useable in text-only browsers.
There's no point in questioning authority if you aren't going to listen to the answers.
Please someone create a browser (just use the Moz code) and call it "I can't believe its not Internet Explorer" and have that as the User-Agent string!!
Honestly - it would be soo tops. That would appear in everones web access log, and they'd be wondering what it was, and so they'd download it too.
Or just add a "not internet exploder" user-agent string option to Moz? Because you shouldn't need the UA string anyway - just use the Accepts header!
Please someone... do this? For me? For us?
So what ? Hit Ctrl-G (to switch to user stylesheets defined in Opera) and you can see the MS content. If you love your mouse, hit the "Page" icon left of the address bar labeled "Toggle between author mode and user mode". Repeat this step after you changed to a non-broken page to see the original styles again.
BTW: MS is not the only one who has broken style sheets. But most other pages I've seen used broken style sheets accidentally. And yes, Ctrl-G helped with those pages.
Tux2000
Denken hilft.
Thats not the point. An average user who frequents msn.com, who may be trying out the Opera browser would be deceived into thinking that Opera is flawed because of these display problems. It specifically targets the Opera browser in a way that would be invisible to most users. Yes, if you are aware that this is what MS is doing, you could make an informed decision not to frequent msn.com, but most users would not be aware of what was really happening.
Besides that, its cheesey.
It was like that when I got here.
If you are creating multiple copies of resources for different user agent strings, then it is a prime indication you haven't understood the very simple concept of the World Wide Web.
Making a website accessible does not mean text-only. This is a myth, and a badly misinformed piece of strawman fluff. Text-versions of websites should only be a last resort, when you've reached the point where you admit your design and markup skills are inadequate to do even a competant job, let alone a good one. Accessible websites can also be well designed, there's no mutual exclusivity.
If you so strongly want to believe this nonsense, please post a reference to either a standard or recommendation that states that User-Agent is a mandatory HTTP parameter. You know as well as I do that User-Agent strings are optional, and relying on them to determine presentation is so typically short-sighted that its now laughable.
You cannot succeed over the medium to long term adopting a browser-sniff route. It is folly.
sure, but Opera is also available for iTv, Smartphone, symbian and verticals and those are markets MS would love to enter and konquer...
People have to stop thinking that the PC is all there is on the net...
Nobody expects the spanish inquisition!
"
all it takes is a little time
"
No! It's _easier_ to write bread-and-butter HTML that looks _fine_, if a little unexciting, than it is to write anything that could break any half-decent browser (i.e. one that understands what it's told, like w3m or opera).
YAW (who writes his boring but perfectly usable (100-hits a day on some pages, which ain't too bad) web-pages using 'cat > filename')
Your head of state is a corrupt weasel, I hope you're happy.
I just made my install of Mozilla pretend it was Opera, by adding the following to the user.js file:
user_pref("general.useragent.override", "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]");
I restarted Mozilla (1.3a), checked the about page (it shows the user agent) and then visited the MSN page. The page showed up fine. I thought that maybe that maybe MS had changed the CSS. I downloaded the style sheet in Mozilla and saw the -30 there. From what I can tell Mozilla must have a check to ensure that text does not appear outside of the cell, not matter what the css indicates. If Mozilla can do it, then the guys over at Opera can do it too.
Note - I am not saying that this clears MS, as any well implemented web site should only need one version of any page, unless they have localization. What I am saying is that this is a fixable issue on the part of Opera.
Jumpstart the tartan drive.
remember that v7 was only release last week. the page in question appears to render correctly on the previous version (although it's just a bug in the browser hiding the bug in the stylesheet).
I am a developer, I always use Opera, *Except* when visiting MSDN to search for documentation. MSDN (and MSN it seems) is the *ONLY* page I have ever visitted that consistently fucks up in Opera... I've always thought it was a Microsoft problem, and this clinches it !. Now, if only there was another development environment even remotely as good and user friendly as VS.NET, i wouldn't have to visit MSDN at all....
1) No, it's not faulty autodetection. It's correctly determining which browser is making the request. It's correctly sending different stylesheets based on the user-agent string. The problem is, the stylesheet itself is written in an incomprehensibly stupid way.
The fact that it only sends the broken sheets to Opera 7 would indicate that someone at MSN wants to hurt the reputation of Opera's latest offering.
2) No. Nobody should have to browse with a false user-agent string. Period. The fact is, as much as we like standards, every browser has its own quirks and problems that must be worked around if you want to give all browsers the same experience.
A good webmaster can use the agent string to greatly improve the browsing experience for everyone. But bad ones use the information to mess with users of specific browsers[*], or to deny them access altogether, even though the vast majority of websites I've entered under false pretenses worked just fine.
The whole issue is about respect. Microsoft is not respecting my decision to use a non-IE browser. Coding to standards and ensuring cross-browser correctness shows respect to everyone who views your site. Locking out users of browsers you don't like shows disrespect for those who don't share your browser preferences.
[*] Not always to IE users' benefit. I remember one slashdotter who rigged his site so that anyone using IE ended up listening to the musical stylings of William Shatner.
You want the truthiness? You can't handle the truthiness!
I don't see why they shouldn't be able to do it, but its still deceptive...
...because they insist on calling it html? if they named it .IEonlywillbreakforanyotherbrowserallyourbasearebe longstoushtml they could do whatever they like.
Kjella
Live today, because you never know what tomorrow brings
Actually I spoke too soon and am going to take back what I said. I loaded up the page in Opera 6.0 and the margin -30 is supposed to fix a bug in Opera 6.0's rendering of lists. In fact, it's the very same problem I ran into while designing some webpages a few weeks ago that annoyed me to no end. Basically, Opera 6.0 indents list items by about 30 pixels to the right, unlike other browsers. Thus that -30 value is there to correct that problem. Opera 7.0 doesn't exhibit that tabbing effect (thus consistant with the latest IE and Mozilla browsers). Apparently MSN is serving Opera 7.0 the same CSS sheet as Opera 6.0 even though 7.0 works best when it's served the same style sheet as IE. Thus, saying that this problem is browser sabotage is too strong of an accusation.
Opera always includes "Opera" in the ID string (ex.: "Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 6.05 [en]"). Which sort of defeats the whole point of identifying as a different browser. It'll only fool scripts that first check for "MSIE" and, if they find it, don't even bother looking for "Opera". All other scripts will still see it's Opera.
RMN
~~~
I disagree with your disagreement completely. :)
I suspect you can write a page that works in every browser that looks decent. I also suspect that, in doing so, you are violating W3C WAI guidelines, or at least being shortsighted in your compliance with them.
(I could be wrong about that, I have no idea who you are or what work you do. This is simply my general experience and please pardon me for jumping on you!)
The biggest problem with supporting every browser is that you're mixing up content with layout. You are most likely using tables for layout; if you know how to make a page look good in NS4 without doing that, let me know. The problem with this is that assistive devices try to comprehend your page by seperating content from layout, and tables are supposed to be used for content, and CSS for layout. But NS4 doesn't even begin to support that properly. This is an issue right now for WAI people and those of us who have to make our sites 508 compliant, but it's going to be more of an issue in the future as all browsers will need to clearly differentiate between layout and content.
We made the decision to simply stop supporting NS4 and comply with HTML 4.0 and CSS2. These are no longer cutting edge standards, and it does give our designers a lot more freedom in how a site looks. Yes, they -could- design something to work in every browser (and we did, until recently) but it is a whole lot of extra work to design something with tables and deal with all of the stuff that entails. So it's not a 'we're too dumb' thing, it's a 'we'd rather devote our creative energies to something that complies with standards that are now a couple years old than support a browser > 3% of people still use.'
And if we get someone who complains that they can't access our stuff with NS4, we mail them a CD with Mozilla or Phoenix. Your tax dollars at work.
Cheers,
Aquitaine
Program on Employment and Disability
Cornell University
Its about ethics. MS has as much right to serve Opera broken CSS as we do to complain about it. Nobody's forcing anyone to do anything, but MS is intentionally misleading people to believe that Opera is somehow broken (not that Opera Software needs help, seven holes found in one week seems a bit severe).
As far
I Browse at +4 Flamebait
Open Source Sysadmin
You're right, it must be an mistake. It's well known that most web designers will post browser specific versions of major sites without ever testing/debugging them on the browser for which they're built. This sort of thing happens all the time.
Now, what's the W3C compliant way to get my [sarcasm] [/sarcasm] tags to display properly?
It makes no difference to the user that your page is coded to standards if he/she can't view it. Telling them they need a different browser isn't the answer either.
Clearly you use IE as your default browser. As an avid user of non-Microsoft browsers (Phoenix, in my case) it is almost a daily occurence that some site blocks me based on my user-agent ID and tells me to go download IE. I'm sure you have also seen "Best viewed with Internet Explorer" bottons before, too. Your argument is specious.
I messed around with a few other UserAgent strings, and it gets a little clearer:
"Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]" -> site.css
"Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Oprah 7.0 [en]" -> site-win-ie6.css
So far, exactly as reported in the article
"Mozilla/4.0 (compatible) Oprah 7.0 [en]" -> site.css
"Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.1) Oprah 7.0 [en]" -> site-win-ie5.css
"Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1; Opera 7.0) Oprah 7.0 [en]" -> site.css
It's pretty clear what they're doing:
In other words, it doesn't matter what Opera claims to be compatible with - they always get the default sheet, just like a completely unrecognized browser does.
I'm trying to apply Hanlon's Razor here, but it's hard...
My biggest complaint about the .NET framework:
.NET framework does a check to see which browser you use and then sends formats aspx pages for the capabilities of that browser. So if you use abs positioned divs, you'll get those for modern browsers but Netscape 4.7 (for instance) will get the same page (theoretically) but formatted via tables. This is great, if only MS were honest about it.
the
I constantly have to hard-code formatting for controls because MS treats Netscape 6 as a 'down-level' browser and doesn't bother sending out certain formatting tags. So some pages look bad in Netscape 6, the reason behind it would be that the formatting tags weren't sent out because Netscape doesn't support them, but this is false because when I add them by hand, netscape handles them fine and my pages look the same in both browsers.
I have to believe that MS does this so people say "this page looks like azz in Netscape" and assume that it's Netscape's problem.
the framework has been out for too long and this is still not fixed, so I can not believe that it is an honest or innocent mistake.
The truth doesn't care what I think.
Fortunately, the Opera browser can spoof a fake user-agent string. Ever since I've set Opera to always tell servers that it's IE, I've seen no problems.
Genocide Man -- Life is funny. Death is funnier. Mass murder can be hilarious.
They specifically designed their web site to send a different style sheet, (and '30' is not a typo.. '33' or '34' or something I'd believe) AND a larger page with less content, JUST to Opera. That seems pretty far from "an honest typo". This is MSN's HOME PAGE. You don't think they know what it looks like in different browsers? I work at a 4 person company, and we know what all our websites look like in IE, Moz/Netscape, and Opera. Furthermore, they have a motive to make it look better in IE, and they've shown in the past OVER and OVER that these kinds of underhanded tactics are their bread and butter. Someone at MS knew about this, and also knew it could never be proven in court.
By the way, the full quotation is:
"Never ascribe to malice, that which is adequately explained by incompetence"
- Napolean Bonaparte.
I think one of Microsoft's new unwritten policies is "When accused of malice, always hide behind incompetence".
"No no... we'd love to, but we simply CAN'T remove IE from Windows." Sound familiar?
"Mind, as manifested by the capacity to make choices, is to some extent present in every electron." -Freeman Dyson
1) Tabbed Browsing. Not for everyone, but I love
it.
2) Mouse gestures. Another control method is
great
3) Speed and it's not an M$ product
4) Ability to disable/enable cookies/plugins/javascript/java/referrer logging/ gif animation/annonying embedded audio/popups from a single panel by pressing F12. Very handy.
5) Ability to turn graphics off completely.
6) Good CSS support (Opera7)
7) Zoom feature -- handy for guys like me with coke bottle glasses.
When I have to use other computers that don't have Opera or Mozilla installed it's a painful experience.
Freedom is merely privilege extended unless enjoyed by one and all.
a quote:
MSNBC News
- * Powell titty fucks his case to Congress
pretty accurate, too.there is a non-standard 38 pixel indentation that Opera6 applies to lists. the change in the stylesheet is designed to overcome this bug. the rendering in Opera6 may look 'just fine' but in fact there's extra space in there that shouldn't be.
the fix in Opera7 means that the stylesheet causes the list to be indented 38px to the left.
Human nature is to believe in evil more than incompetence. However, I am pretty sure that the people at MSN were just so incompetent they could not get a simple thing like margins correct, rather than so evil as to try such an in-ept form of sabotage. Of course, does it really matter if Microsoft is evil or stupid? The result should be the same, do not consider them a viable company to do business with.
excitingthingstodo.blogspot.com
I really doubt it's an accident as Opera7 renders the page perfectly when fed the IE6 CSS file.
But this doesn't prove that management dictated this. It could have been some jackass web monkey deciding to Fight The Good Fight. Especially as it looks like it's been fixed already.
Not everything a huge company does is dictated from the top. Sometimes you get overzealous jerks in the lower ranks trying to be cute.
Boobies never hurt anyone. - Sherry Glaser.
d) the -38px adjustment is in there to overcome a non-standard +38px adjustment that Opera v6 adds to lists.
Microsoft has been losing the battle of the mobile phones, both in OS implementation for SmartPhones and in the specific browsers carried. If you look here or here, you can read further about the success Opera has been having in the field. Damaging the reputation of Opera, even in so petty, small and childish a manner, would help Microsoft in their eyes.
Lemme see...
wget --user-agent="nice fucking investigation, guys" --output-document bullshit.html http://www.msn.com
Ooh, what's this? The same stylesheet the opera guys are complaining about is being sent to ME now? Why, Microsoft is targeting my bullshit browser! Scandal!!
The problem with the "Oprah" test the opera guys ran is that their user string pretty clearly contains the string "MSIE 6.0", which is probably tested for before the string "Opera" (if, indeed, the word "Opera" is tested at all)... and thus, they received the IE 6 stylesheet. site.css is most likely a generic stylesheet sent to any browser that fails all other string checks.
Good one, guys.
Honestly, this is not an effort against Opera. If I choose to break my own site, so be it..
/. story on that.
.0004% of our hits, I'd have to say "Do the change, ignore Opera".
.0004% of the browsers hitting them were Opera, they wouldn't waste the time to do make special pages specifically to break Opera.. It's simply a bug.. It's not worth the effort.. If someone did anything, I'd bet they were trying to make a better page for the Opera people, and failed.. Probably a newbie was given the job. Who cares if you mess up the page that no one sees..
In my industry, just about every site does video of some sort. There's always some group that feels they were intentionally blocked because of whatever reason. I've seen sites that stream exclusively Windows Media, and some that use propriatory plugins like "Emblaze".. Some were using the Netscape "Push" method (send a multipart header, and then send a new mime delimiter between frames). Netscape "Push" doesn't (or didn't) work with MSIE.. Windows Media doesn't work with Linux. (with a few exceptions).. Something doesn't work with something else.
If I choose to make my site not work with MSIE or Netscape, and only let Opera viewers see it, well, it's my site.. If Slashdot decides tommorrow that they like a feature of Mozilla 9.999, and it doesn't work with any other browser, including MSIE, how many of you are going to be bitching for MSIE compatability?
I'll get a bunch of comments back "Microsoft Sucks", but I'd *LOVE* it if they'd put the REMOTE_USER_AGENT string beside your name in the comments.
For those curious, mine is:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212
I'm not defending Microsoft. It's shitty that they did it, but honestly it's their site. Try doing a Windows Update from Netscape, that doesn't work either.
Want more fun? Try installing a nice fresh copy of an older Microsoft OS (say WinNT 4.0), and get yourself up to day.. Years ago, they broke the Microsoft pages, so you couldn't get the updates. But I can't say that I've ever seen a
Where I work, we try our best to make our pages render correctly on our machines.. That means, keep everyone in the office happy, and hopefully it will make the majority of our customers happy. We have enough varity by choice to keep things interesting. here's the short list of the browsers we use:
Win98/Win2k/WinXP:
MSIE 5.0 -> MSIE 6.1
Netscape 4.7 -> Netscape 7.01
Mozilla 1.1 -> Mozilla 1.3a
Opera (unsure of version)
Mac: OS/9, OS/X
MSIE (unsure of version)
Netscape (unsure. various versions)
Mozilla (unsure. various versions)
Linux: (Slackware)
Mozilla 1.1 -> 1.3a
Netscape (various)
Konqueror 3.0.1
But sure as hell, we'll have some sort of rendering problem on some browser, and someone will scream that there's a conspiracy against them specifically..
Our sites don't require any special browser. They all work. We don't know of any compatability issues right now, but I'm sure someone will find that Konqueror v1.0 won't work with a particular page, if they try hard enough. Our site has average users browsing. Some advanced users, lots of regular users..
In the last 24 hours we had 17,017 different REMOTE_USER_AGENT strings sent to one of the servers, in 1,949,023 requests from 116,273 unique IP's.. If I take the list and:
cat list.txt | cut -f 1-3 -d ";" | sort | uniq -c > work.txt
less work.txt
Here's the top 10 results:
474500 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1
317359 "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98
140794 "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98
91425 "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0
66331 "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98
31072 "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0
29963 "Mozilla/4.0 (compatible; MSIE 6.0; AOL 8.0
26778 "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0
25426 "Mozilla/3.0 (compatible
20841 "Mozilla/4.0 (compatible; MSIE 5.01; Windows 98
And in comparison, we'll look at some other top 10's.. Here's the top 11 Linux clients (11, because the first Opera was #11)
grep -i linux work.txt
1563 "Mozilla/5.0 (X11; U; Linux i686
387 "Mozilla (X11; I; Linux 2.0.32 i586
161 "Mozilla/5.0 (compatible; Konqueror/3; Linux
145 "Mozilla/4.7 [en] (X11; I; Linux 2.2.13 i686
96 "Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U
72 "Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U
67 "Mozilla/5.0 (X11; U; Linux i586
64 "Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686
56 "Mozilla/4.78 [en] (X11; U; Linux 2.4.9-34 i686
46 "Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U
39 "Opera/6.11 (Linux 2.4.2 i386; U
And the top 10 Opera clients.
127 "Opera/6.01 (Windows 98; U
118 "Opera/6.05 (Windows XP; U
104 "Opera/6.05 (Windows 2000; U
74 "Opera/7.01 (Windows NT 5.0; U
72 "Opera/6.05 (Windows 98; U
60 "Opera/6.0 (Windows 98; U
56 "Opera/7.0 (Windows NT 5.1; U
49 "Opera/6.0 (Windows 2000; U
41 "Opera/7.0 (Windows 98; U
39 "Opera/6.11 (Linux 2.4.2 i386; U
Ok, lets give better Opera numbers. It seems Opera has a few different formats for its browser string. Thanks guys. That helps me a lot..
The top 10 browser string with "Opera" anywhere in it are:
cat list.txt | grep -i opera | sort | uniq -c | sort -r -n -k 1
---
752 "Mozilla/4.0 (compatible; MSIE 5.0; Windows XP) Opera 6.05 [en]"
627 "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows XP) Opera 7.0 [en]"
617 "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]"
378 "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows 98) Opera 7.0 [en]"
277 "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.01 [en]"
271 "Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 6.05 [en]"
246 "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98) Opera 6.05 [en]"
222 "Mozilla/4.0 (compatible; MSIE 5.0; Windows XP) Opera 6.05 [de]"
194 "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.0 [en]"
156 "Mozilla/4.0 (compatible; MSIE 5.0; Windows ME) Opera 6.05 [en]"
Or more specifically, lets find every Opera browser regardless of OS type.. That's just about as big as we can inflate your numbers.
cat list.txt | grep -i opera > work.txt
cat work.txt | grep ^\"Opera > a.list
cat work.txt | grep -v ^\"Opera > b.list
cat a.list | cut -f 2 -d \" | cut -f 1 -d " " > opera.id
cat b.list | cut -f 2 -d ")" | cut -f 1 -d \[ >> opera.id
And then a little cleanup in 'vi' to fix the leading space, and the space versus slash in the two types...
cat opera.id | sort | uniq -c | sort -r -n -k 1
---
2565 Opera/6.05
2488 Opera/7.0
678 Opera/7.01
549 Opera/6.01
537 Opera/6.0
438 Opera/6.04
336 Opera/6.03
105 Opera/6.11
63 Opera/5.12
47 Opera/6.02
47 Opera/5.0
43 Opera/6.0/\xa4/
32 Opera/5.02
30 Opera/4.0/Beta/4
28 Opera/5.11
27 Opera/5.01
21 Opera/6.01/~/
14 Opera/5.12/\xa1\xe8/
13 Opera/3.60
12 Opera/5.12/OCV2/
9 "
7 Opera/6.1
2 Opera
1 Opera/6.01/OCV2/
Now honestly, who should I be designing pages for? the 2,500 hits from Opera 7.0, or the 474,500 from "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1 ?
**WE** do respect peoples ability to choose what browser they want, and *WE* won't limit it, but I'd bet with these numbers in front of them, most bosses would have the pages designed for the majority..
If the decision were presented to me, wether to include a really great feature that works in Netscape and MSIE but not Opera, or not, and I did exactly what I just did, and saw that 8,092 of 1,949,023 hits came from Opera, that's
If Microsoft had half a clue (which I'm sure someone there does), and they checked to see what browsers were viewing, and *THEY* saw that
Serious? Seriousness is well above my pay grade.
And, not to defend MS or anything... but how come EVEN THE OPERA.COM SITE NEGLECTS TO MENTION THAT OPERA6.0 HAD A +30 BUG WHEN RENDERING CSS SHEETS?? Who is sabotaging who here?!?
If you read the discussion and set your filter below "+5 for loudly bashing MS", you would notice that Opera6.0 had a problem that was FIXED BY -30 OFFSET. So what you're looking at is the inability to distinguish between opera6.0 and opera7.0. Or, essentially bashing for the (somewhat screwd up) fix of opera6.0.
What truly amazes me is that opera.com description of the problem fails to mention that. I have to say that MSN guys come out looking *far better* than the Opera.
This is obviously an intentionally different style sheet. They went out of their way to send a different set of data to Opera than they do to any other browser in the world. And it's broken.
Then why the hell didn't you?I did a little bit of research on this, and tested if any versions of Opera actually needed the stylesheet Microsoft is serving. Not even Opera 3.62 benefits from the stylesheet MSN wants to serve.
I don't for one second believe that MS is doing this for any other purpose than making Opera look bad. Why? Because in the mobile / Small-screen-market, Opera is definetly their biggest threat. The mobile market is the only browser market that still has a great potential for growth. Microsofts want to own that market. Currently, they don't. Microsoft won't own that market with Opera around. But they know they can't beat Opera in that market without first killing off Opera on the desktop.
http://virtuelvis.com/
Actually, it looks suspiciously like someone setting margin in a misguided attempt to work around a "problem" with padding; in the CSS box model, each box has two measurements to define how things flow around it; padding, which is inside the box but outside the content, and margin, which is outside the box.
;)
The problem is not all browsers apply margin and padding the same to elements; for example, Mozilla and IE give the body tag a margin, Opera gives it padding (as recommended by the W3C and common sense). Web weenies often try to remove this by setting margin: 0; while neglecting to set padding. A naive way to fix this would be to serve a stylesheet specifically to Opera setting margin to a *negitive* value of whatever padding happens to be set to, thus pulling the padding outside the viewport; the correct solution is obviously to just set padding: 0;.
Lists are similar; if you don't set margin *and* padding, you're liable to have things like this happen, because you've not defined what you want fully. This is especially true of lists, which are often built up quite differently in different browsers.
So, no need to go overboard on the conspiracy theories; this looks more like a web weenie who doesn't quite know what he's doing. I guess this is what happens when you hire graduates straight out of college
Opera users would surely find this annoying:
Web Browser Software Limitations
Your Current Software Will Limit Your Ability to Use Hotmail You are using a web browser that Hotmail does not support. If you continue to use your current browser software we cannot guarantee that Hotmail will work properly for you.
Hotmail supports the following web browsers:
Microsoft Internet Explorer - version 4.0 or higher.
Netscape Navigator versions 4.70 and higher.
We recommend that you upgrade your web browsing software and invite you to download the latest version of Microsoft Internet Explorer.
Siggy Say, Siggy Do
Microsoft didn't do anything of the kind.
e /ns47.png
p ng
2 /l astmonth_07_b.htm
1st piece of evidence:
Amaya and Netscape Nav 4.7 both get fed the same stylesheet that Opera gets. Indicating that the site checks for Netscape 6 and above, and IE 6 and above only, providing a default style sheet to all other browsers.
2nd piece of evidence:
Mozilla gets the Netscape 6 stylesheet, which has the SAME bug that the default (passed to Opera) stylesheet has. The same -30px margin is passed to it, but Mozilla renders it correctly (latest build).
3rd piece of evidence:
Netscape Navigator 4.7 MANGLES the front page of MSN if you set the margin-left property to 0px instead of -30px. Here's NS4.7 showing the page with a modified site.css stylesheet:
http://home.earthlink.net/~simoncook
Whereas here is Netscape Navigator 4.7 using the unmodified stylesheet (the same one passed to Opera):
http://home.earthlink.net/~simoncooke/ns47orig.
Now, if you take a look at most sites, you will see that the most popular browsers are IE, followed by Netscape Navigator 4.7, followed by Netscape 6.x (including Mozilla), and finally trailed VERY FAR BEHIND by Opera.
http://www.sla.org/stats/conf2003/conf2003_sep0
Now if you were to realistically act as a site designer, you would go out of your way support IE, Netscape 6.x and company, and Netscape 4.7 -- which is the 2nd most used browser in the world.
And guess which browser needs a bugfix so that it doesn't crash when you pass it a stylesheet it doesn't understand, and so that it doesn't screw up the layout?
Yep, that's right, Netscape 4.7. Our 2nd place winner, and the one that this "horrible, Opera breaking stylesheet" was *actually* written for.
You know, a little research and a little critical thinking might not have set you down this path in the first place.
Simon
Coming soon - pyrogyra
There are many (most? all?) companies that are much smaller that manage to not alienate customers intentionally. I am a big customer of Microsoft's; we buy a ton of software from them. I just use Linux, and I like to look up answers on their site using Mozilla, or UNLOCK MY VOLUME LICENSES on their website, which requires a passport account (which, incidentlly, is how I stumbled into this bug in the first place). I was trying to give them money, and they just slapped me in the face.
The wheel is turning, but the hamster is dead.
This is not correct.
Opera6 shows the page that MSIE6 receives just fine. I even included a screenshot of it on my page -- scroll down to the second image.
If you still believe this is Opera6's fault, please provide a test case showing how it fails.
There's an Opera 6 bug regarding the margin (hence the -30)
I've coded against Opera for a long time now and never encountered this. Is that astroturf I smell?
TWW
"Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
Microsoft web page fails to render on non-Microsoft browser. Conclusion: Microsoft bad. Non-Microsoft web page faile to render on Microsoft browser. Conclusion: Microsfot bad.
That's very perceptive of you Mr Stapleton and rather unexpected in a G Major