Skip navigation.

exploreopera

| Help

Sign up | Help

Posts tagged with "opera"

Opera 9.5: More compatible with Windows Live Hotmail than Firefox 3, Safari 3.1, or Internet Explorer 8!

, , , ...

After writing my previous post, I realized: why only test Firefox 3 and Opera 9.5? Windows Live Hotmail is a pretty friggin' important site, so it should work everywhere!

So, I decided to test Hotmail's full "AJAX" version in the newest available versions of all 4 major browsers.

Opera 9.50 Final:
Full version

Opera 9.50 supports the full version of Windows Live Hotmail without any problems, thanks to Opera's innovative browser.js site patching.


Safari 3.1.1 Final:
Redirected to classic version

Safari is not supported by Windows Live Hotmail's full version. At least the classic version works.


Firefox 3.0 RC3:
Error, redirected to classic version

Although Firefox is a supported browser for Hotmail, the latest version doesn't seem to work. Again, at least the classic version still works.


Internet Explorer 8 Beta 1:
Classic version unusable!

Sometimes, I wonder if the folks who work for Microsoft actually use their own browser...

(not really a) A standards-compliant, cross-browser, reliable way to detect functions in JS (thanks to IE, again)

, ,

Edit: Turns out this doesn't work for some native functions such as window.alert in IE. It fails exactly where the typeof operator fails :-P.

A lot of scripts rely on Function.prototype.toString to determine if an object is a function in Javascript. This is not compatible with many mobile browsers, which don't support function decompile (optional according to ECMA-262) for performance reasons.

According to page 103 of ECMA-262 3rd Edition:
15.2.4.2 Object.prototype.toString ( )
When the toString method is called, the following steps are taken:
1. Get the [[Class]] property of this object.
2. Compute a string value by concatenating the three strings "[object ", Result(1), and "]".
3. Return Result(2).

This gives us a really easy way to know if something is a function in any ECMA-262 compliant browser (including IE, Firefox, Safari, and Opera):
function isFunction(x) {
  return Object.prototype.toString.call(x) == '[object Function]';
};

The slightly even more awesomer awesome bar!

, , , ...

After I saw this in my Google Reader, I decided to try it for myself...

Yep, works in Opera 9.5 too :-)

A quality CSS selector from Google Notebook

, , , ...

body > p:-moz-first-node,
 body > p:-moz-only-whitespace:-moz-first-node,
 body > p:-moz-last-node,
 body > p:-moz-only-whitespace:-moz-last-node,
 body > dl:-moz-first-node,
 body > dl:-moz-only-whitespace:-moz-first-node,
 body > dl:-moz-last-node,
 body > dl:-moz-only-whitespace:-moz-last-node,
 body > multicol:-moz-first-node,
 body > multicol:-moz-only-whitespace:-moz-first-node,
 body > multicol:-moz-last-node,
 body > multicol:-moz-only-whitespace:-moz-last-node,
 body > blockquote:-moz-first-node,
 body > blockquote:-moz-only-whitespace:-moz-first-node,
 body > blockquote:-moz-last-node,
 body > blockquote:-moz-only-whitespace:-moz-last-node,
 body > h3:-moz-first-node,
 body > h3:-moz-only-whitespace:-moz-first-node,
 body > h3:-moz-last-node,
 body > h3:-moz-only-whitespace:-moz-last-node,
 body > listing:-moz-first-node,
 body > listing:-moz-only-whitespace:-moz-first-node,
 body > listing:-moz-last-node,
 body > listing:-moz-only-whitespace:-moz-last-node,
 body > plaintext:-moz-first-node,
 body > plaintext:-moz-only-whitespace:-moz-first-node,
 body > plaintext:-moz-last-node,
 body > plaintext:-moz-only-whitespace:-moz-last-node,
 body > xmp:-moz-first-node,
 body > xmp:-moz-only-whitespace:-moz-first-node,
 body > xmp:-moz-last-node,
 body > xmp:-moz-only-whitespace:-moz-last-node,
 body > pre:-moz-first-node,
 body > pre:-moz-only-whitespace:-moz-first-node,
 body > pre:-moz-last-node,
 body > pre:-moz-only-whitespace:-moz-last-node,
 body > ul:-moz-first-node,
 body > ul:-moz-only-whitespace:-moz-first-node,
 body > ul:-moz-last-node,
 body > ul:-moz-only-whitespace:-moz-last-node,
 body > menu:-moz-first-node,
 body > menu:-moz-only-whitespace:-moz-first-node,
 body > menu:-moz-last-node,
 body > menu:-moz-only-whitespace:-moz-last-node,
 body > dir:-moz-first-node,
 body > dir:-moz-only-whitespace:-moz-first-node,
 body > dir:-moz-last-node,
 body > dir:-moz-only-whitespace:-moz-last-node,
 body > ol:-moz-first-node,
 body > ol:-moz-only-whitespace:-moz-first-node,
 body > ol:-moz-last-node,
 body > ol:-moz-only-whitespace:-moz-last-node {
margin-bottom:1em;
margin-top:1em;
}


Yes, that is just one selector.

Opera: More compatible with Windows Live Hotmail than Internet Explorer!

, , , ...

I've been working on a compatibility script for Windows Live Hotmail (apparently the 2nd most popular webmail service, behind Yahoo! Mail) in Opera. Overall, it has been smooth sailing - the only real differences between Opera and IE/Firefox involve some timing differences of multiple <script> onload events (there is no relevant detailed specification for this, so Opera isn't breaking any rules I know of).

I have found something in particular that Opera does really well: showing the "From" menu on the compose screen. In fact, Opera is noticably better at it than the competition:

(click for full resolution version, 276KB PNG)


Clearly, Microsoft has some more work to do, in order to ensure that their browser properly renders their webmail service :rolleyes:

Google's most prominent fans use Opera

, ,

Asa Dotzler on Opera's EU antitrust complaint

, , ,

"I may have missed some articles because I'm only pulling from the sources that mention Firefox or Mozilla where my real interests lie. But what's most surprising to me is the hostility towards Opera and this complaint."
-- http://weblogs.mozillazine.org/asa/archives/2007/12/opera_calls_for.html

CSS fix: <wbr> in Opera 9.5

, ,

wbr { white-space: nowrap }

:devil:
Yes, this really works...

Not an upgrade

, ,

https://mail.google.com/support/bin/answer.py?answer=76137
"It pays to upgrade your browser
We've added some great new features to Gmail. To check them out, please upgrade your browser to either Mozilla Firefox 2.0 or Internet Explorer 7 (with Google Toolbar)."

Mozilla Firefox? Not an upgrade.
IE7? DEFINITELY not an upgrade.

How about this: I keep using my browser, and you upgrade to support it :-)
October 2008
SMTWTFS
September 2008November 2008
1234
567891011
12131415161718
19202122232425
262728293031