Sitepatching updates

tweaking the broken code until it works, one site at a time

Lots of new patches

We've been busy the past week, looking at some issues that have been around for a while without response from site owners. Time to patch. Expect more the coming weeks.

Added patches
PATCH-646, Fix AAA TripTik sniffing.

PATCH-645, meitu.com: sniffs for "Gecko", no login for Opera users.

PATCH-644, Resolving sbrf.ru's menus mouseout confusion by helping them use mouseleave instead. Menus close too fast.

PATCH-643, nab.com.au: avoid browser warning.

PATCH-641, icicibank: fix browser sniffing that causes broken positioning of slideshow on frontpage.

PATCH-638, frys.com: avoid racy framebuster due to lack of script async in Presto. For now.

PATCH-636, uol.com.br: work around abs.pos.bottom.align core bug. 12.00 only, Core regression to be fixed shortly.

PATCH-633, washingtonpost.com: No load fires for LINK element if href returns an empty file with text/javascript type. Use proper types please smile

PATCH-631, Walmart menus messed up by hasOwnProperty() regression. 12.00 only, should be fixed in Core shortly.

PATCH-630, facebook: work around Opera's too strict origin checks on https for https -> http(s) other site -> https IFRAME communication to allow login from 3rd party sites, like my.opera.com p This is a hack as good as they get and for 11.6x only. There will be a proper Core fix coming to 12.00.

Look out for regressions.

PATCH-629, yr.no: don't define responseXML for text/plain responses, even if it looks like valid markup. Core bug.

Delta, Terra, CongoSkydrive, Amazon ++

Comments

Charles SchlossChas4 Monday, May 14, 2012 1:48:20 PM

a shorted one

May 14, 2012. Active patches: 193

Galileo Monday, May 14, 2012 2:28:32 PM

up
Can i ask for a patch not to launch this message http://files.myopera.com/Galileo/files/e-syntagografisi.jpg in https://www.e-syntagografisi.gr/e-pre/ The message reports that Opera isn't recognized as a supported browser and lists other browsers to use.

d4rkn1ght Monday, May 14, 2012 4:03:20 PM

up

ouzowtfouzoWTF Monday, May 14, 2012 5:16:23 PM

up

MyOpera team, please fix this!fearphage Monday, May 14, 2012 6:05:56 PM

Just FYI, I filed a bug (bug #209592 at the time) a long time ago (2006) that responseXML is defined as an empty document instead of being null way too often. That's a long standing spec violation.

http://www.w3.org/TR/XMLHttpRequest/#xml-response-entity-body

I don't have a minimal test case, but it's covered here:

http://dl.dropbox.com/u/2400/opera/bugs/bugs.htm?http://my.imaginary/site/

Ola P. Kleivenolak Monday, May 14, 2012 7:32:28 PM

Yes, it has been properly fixed as well (works in my box fresh build) PATCH-629 is a Jira-clone of that very bug.

@Galileo: where do I click to get that alert?

QuHno Monday, May 14, 2012 7:54:13 PM

Feature request:

How about adding some code for the BTS desktop wizzard that inserts the GPU info to the bug reports, if available?

the browser.js should be able to read out the data (are they in the opera object?) so it could be possible and it would be quite handy when posting HWA and WebGL related problems ...

Galileo Monday, May 14, 2012 8:36:48 PM

If you visit the site here https://www.e-syntagografisi.gr/e-pre/ you should get the message first if the site works correctly or here http://www.e-syntagografisi.gr/ and click the second icon from the right.

Swapnil RustagiSwapnil99pro Tuesday, May 15, 2012 12:49:14 PM

Hello Opera sitepatching team,

First, I am sorry to ask you an off-topic question.

There has been a big problem with Windows Live Skydrive, tested myself with Opera 11.50 all the way to Opera 12 snapshots.

The issue is, when trying to upload a file, we receive the following error message, only and only in Opera-

"Sorry, SkyDrive can't upload folders or empty files. Please try again."

The issue has been confirmed by many and there are two forum topics for it-
http://my.opera.com/community/forums/topic.dml?id=1243532
http://my.opera.com/community/forums/topic.dml?id=1202922

What's surprising is that even Internet Explorer 8 can upload files fine.
Is it Microsoft's fault or Opera's?

Ola P. Kleivenolak Tuesday, May 15, 2012 1:16:44 PM

Quite on-topic wink - we know about it but haven't figured out the exact cause yet.

Swapnil RustagiSwapnil99pro Tuesday, May 15, 2012 3:14:26 PM

Originally posted by olak:

we know about it but haven't figured out the exact cause yet.


OK. But for most part, it doesn't really seem to be Microsoft's fault.

In Opera 11.01 (yes it is 11.01 - not 11.61), file uploading works perfectly; as in Internet Explorer 8+.

Microsoft seems to have two methods: one for browsers which do not support FileReader API and one for web browsers supporting FileReader API.

For Internet Explorer 8 and 9 (FileReader API is present in IE 10) and other browsers which do not support FileReader API - Microsoft uses the first method (I am not a web developer; not possible for me to examine the code and tell what it is)

For Firefox (Gecko), Chrome and Safari (WebKit), the FileReader API is used to read the file and send it to the server.

So while Opera 11.01 tries the first method (for non-FileReader API browsers) and succeeds; Opera 11.10 and above claim to support FileReader API and try the second method and fail.

They fail because according to http://my.opera.com/community/forums/findpost.pl?id=11520252 Skydrive uses readAsArrayBuffer() method from the FileReader API - something supported under Firefox, Chrome and Safari. Opera, on the other hand, does not seem to support it.

So I don't know surely, but maybe you guys could make a patch for Skydrive and somehow set FileReader API support to false.

As I said, I am not a web developer - and haven't examined the code. So don't know if it's possible to patch it or not.

MyOpera team, please fix this!fearphage Tuesday, May 15, 2012 10:31:32 PM

Originally posted by olak:

Yes, it has been properly fixed as well (works in my box fresh build)

Sweet action!

Michael A. Puls IIburnout426 Tuesday, May 15, 2012 10:41:19 PM

Originally posted by Swapnil99pro:

Microsoft seems to have two methods: one for browsers which do not support FileReader API and one for web browsers supporting FileReader API.

Depending on how they do the detection, a simple UserJS for live.com that has:

FileReader = undefined;


might be enough to get the site to give newer versions of Opera the older code.

Swapnil RustagiSwapnil99pro Wednesday, May 16, 2012 10:01:31 AM

Originally posted by burnout426:

Depending on how they do the detection, a simple UserJS for live.com that has:

FileReader = undefined;


might be enough to get the site to give newer versions of Opera the older code.



I tried it - though it bypasses the "Sorry, SkyDrive can't upload folders or empty files. Please try again." error message; the file upload is then stuck with Waiting status.
I guess it's more complicated than expected.
Setting FileReader to undefined is only the first step.

Swapnil RustagiSwapnil99pro Wednesday, May 16, 2012 11:43:03 AM

Does anybody know how to add variables (more specifically booleans) to watches view in Dragonfly?

As I said, I am not a web developer - so haven't used watches in any debugging program.

Ola P. Kleivenolak Wednesday, May 16, 2012 7:49:52 PM

It's Opera's fault. Support for readAsArrayBuffer is there, but not without bugs. Being fixed.

Christophchristoph142 Thursday, May 17, 2012 8:33:05 PM

Maybe there's a chance to get a patch for this? smile

Charles SchlossChas4 Friday, May 18, 2012 1:51:56 AM

Originally posted by olak:

the exact cause yet


a bit off: Its not being Hot & Lively wink (to reference Microsoft again)

Charles SchlossChas4 Friday, May 18, 2012 1:55:17 AM

Originally posted by christoph142:

Maybe there's a chance to get a patch for this?


I think it might be part of the HTML 5, as I noticed it has to do w/ uploading files and downloading them not working right to an icloud account

Christophchristoph142 Friday, May 18, 2012 7:29:17 AM

Originally posted by Chas4:

Originally posted by christoph142:

Maybe there's a chance to get a patch for this?

I think it might be part of the HTML 5, as I noticed it has to do w/ uploading files and downloading them not working right to an icloud account


I'm actually talking about the "your browser is not supported"-message when you visit the site... wink

Charles SchlossChas4 Friday, May 18, 2012 1:21:33 PM

Originally posted by christoph142:

I'm actually talking about the "your browser is not supported"-message when you visit the site.


Same here I have seen it, tho I found uploading files not to work in Opera but did in Safari

I do have a bug in the Apple bug reporter about it

Charles SchlossChas4 Saturday, May 19, 2012 12:41:04 AM

http://homesupport.cisco.com/en-us/wireless/lbc/wrt54G

Tells Opera

<homesupport.cisco.com>

This example doesn't work in Opera

WOFall Saturday, May 19, 2012 1:34:08 AM

With browser.js enabled, http://vrlogrs.com/chats doesn't load, and page interactivity (clicking, right-clicking) breaks.

I've thrown this into the BTS as DSK-364072

Athlonite Saturday, May 19, 2012 11:29:06 AM

with all the talk and speculation around here about skydrive problems I'll just throw this into the mix as well....
A new error

Secure connection: fatal error (552)

https://skydrive.live.com/

Opera was not able to connect to the server, because the server does not communicate via any secure protocol known to Opera.

WTF it uses the same damn secure protocols as Hotmail does and yet I can get into my hotmail account without a problem DERP moment for Opera again

Charles SchlossChas4 Sunday, May 20, 2012 2:14:54 AM

Originally posted by Athlonite:

Secure connection: fatal error (552) https://skydrive.live.com/


I don't see it, is it if you log in?

They use TLS v1.0 128 bit AES (2048 bit RSA/SHA), check in Opera if that is enabled

Josemelo Tuesday, June 12, 2012 10:41:41 PM

http://www.folha.uol.com.br/

Browser sniffing cause broken of flash in front page.

12.00 and 11.64

Write a comment

New comments have been disabled for this post.