Workarounds for Google Calendar, Twitter focus
By Hallvord R. M. Steenhallvors. Thursday, July 8, 2010 12:43:11 PM
PATCH-260 Westjet browser sniffing warns against Opera
This site used to have a really broken constantly re-loading "warning page" for "unsupported" browsers. They've fixed that, so we removed this patch in March - but as the site is still sniffing and warning against using Opera, we might as well keep the patch active. Now restored.
DSK-187263 GMail deletes messages on End key presses (core fix)
PATCH-251 Newsday.com: delayed document.write overwrites the page content
A number of sites call document.write() by mistake after the page is finished loading, overwriting it with some small ad or invisible graphics for user tracking. Here is one offender. There are two reasons Opera encounters this: the most important is browser sniffing, but I also believe an IE bug or feature makes IE ignore document.write() under some circumstances. If a page calls document.write() when IE is in this quirky mode, they will overwrite the page in a browser with a less buggy document.write() support.
Opera Mini found and patched this first, since the problem also applies to Desktop we now push the patch here too.
PATCH-262 Layout regression squishes event detail edit screen on Google Calendar
This makes Google Calendar usable again, saving the Desktop guys from feeling more pain because they took in a last-minute untested fix they should have left alone.. Just don't do it again, OK?
PATCH-261 Hide broken implementation of showModalDialog to make object detection reliable
window.showModalDialog() is an IE invention which is sneaking into the HTML5 standard in spite of my silent dislike of it. Thanks to David Bloom at Google we noticed that we've accidentally shipped a half-baked and dysfunctional implementation of it. This breaks object detection since window.showModalDialog exists and is a function - to make object detection work for developers who want to write replacement functions we ship a small patch that deletes the reference to the broken implementation.
PATCH-263 Twitter tries to focus a display:none TEXTAREA, removing focus from main status update box
Hi Rafael, sorry it's taken me a while since you reported it but finally the patch is out. The status box on Twitter should no longer loose focus when the page is finished loading There's also a core bug on making Opera ignore attempts at calling focus() on an element with display:none.
PATCH-264 @mentions feature requires correct cancellation of enter keys
Here's one that hopefully will make Facebook happily enable @mentions for Opera users. They pointed out that if enabled, confirming a @mentions entry with the enter key would also insert a line break. The reason is that calling event.preventDefault() from keydown doesn't stop the default action of a key in Opera - you need to prevent the keypress event's default action. (This is a very silly incompatibility which we'll fix in an upcoming key event rewrite).
So, calling Facebook: we've worked around the bug so you don't have to, do you have a moment to remove the Opera detection from this statement? As you can see from the screenshot it works pretty well now..
Thanks in advance