Sitepatching updates

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

Weibo, SoftBank, Twitter, GMail again

Added patches
PATCH-590, weibo.com: work around missing KeyboardEvent interface. 11.62 only, as site expects KeyboardEvent to be present if attachEvent is not. Not true quite yet (will be though)

PATCH-588, SoftBank Mobile History Plugin browser sniffing.

PATCH-561, Twitter: allow selection in TEXTAREA. Core bug where re-setting styles of textarea kills selection.

PATCH-422, Miscalculated IFRAME height prevents booking on rede-expressos. Removed last week, but was apparently still needed.

Changed patches

PATCH-585, 4chan: add bottom margin to blockquote for better readability, improved when selected.

PATCH-582, GMail: override workaround for old font-size bug in Opera, add !important in the hope that it will take effect for everyone, not just me ;-)

web.de, 4chan, GMailHuffingtonpost, tvguide, cleaning

Comments

d4rkn1ght Monday, February 20, 2012 5:14:32 PM

up

toncidamjanic Monday, February 20, 2012 5:26:27 PM

Still no luck with PATCH-582 (Opera for Mac 11.61). Although I've managed to see the patch being applied if I force refresh in the Compose view.

In all other cases (e.g., when Gmail is loaded normally and from cache), PATCH-582 is not applied.

Edit: It seems that Opera applies the patch every time I load Gmail with Dragonfly open.

Spadar ShutSpShut Monday, February 20, 2012 6:26:57 PM

Could you tell what's the old font-size bug?

Galileo Monday, February 20, 2012 6:29:58 PM

up

PATCH-582, GMail: override workaround for old font-size bug in Opera, add !important in the hope that it will take effect for everyone, not just me ;-)

and me smile !!!

Mimis Mum (MM)mimi_s_mum Monday, February 20, 2012 7:03:19 PM

Thank you for your hard work! cheers

Ola P. Kleivenolak Monday, February 20, 2012 7:59:16 PM

Originally posted by SpShut:

Could you tell what's the old font-size bug?


In quirks mode, increase font-size with keywords (x-small, small etc.) by one. Some old attempt at aligning with IE.

Rafael Luikrafaelluik Tuesday, February 21, 2012 12:19:46 AM

Hello Twitter!

I think there's a scrolling problem in Twitter DMs.
Swap some DMs someone until it's scrollable, then scroll all down and hover the trash can button trying to delete a message (the last message for example). Oh, 12.00 actually does the job by itself (no need to hover the trash can).

Charles SchlossChas4 Tuesday, February 21, 2012 6:53:50 AM

Target version and time stamp of the active browser.js file is Opera Desktop 11.60 core 2.10.229, February 20, 2012. Active patches: 181 .

Font size is better on gmail smile

Ned the NaniteNedTheNanite Tuesday, February 21, 2012 7:43:05 AM

Still no luck on PATCH-582 with 11.61 in XP, either. sad

eliotcougar Tuesday, February 21, 2012 11:37:01 AM

Yes... PATCH-582 doesn't work, unless Dragonfly is open... Strange...

Custom UserCSS (body.editable.LW-avf{font-size: small !important}) for GMail doesn't work either... I guess GMail does something weird on JS side...

shaneh Thursday, February 23, 2012 1:51:32 AM

Has the "important" fix for 582 come to Opera 12? My browser js has:

var bjsversion=' Opera Desktop 12.00 core 2.10.255, February 13, 2012. Active patches: 172 ';

addCssToDocument('body.editable.LW-avf{font-size: small}');

The font size fix works ok on one PC, but not on another. I note the "important" bit is missing.

Ola P. Kleivenolak Thursday, February 23, 2012 5:19:49 PM

It hasn't. 12 is out of sync with everything right now, so I didn't bother making an updated file.

There is upcoming goodies though wink

stwart Thursday, February 23, 2012 9:38:20 PM

Çağlar Yeşilyurtgreench Friday, February 24, 2012 12:20:11 AM

Hello Ola,

I have just filled the bug report, DSK-358078. If you enter shiftdelete.net with empty urlfilter.ini and flash plugins, Opera will start to consume lots of memory area. If you block ads, the problem is not observed.

This web site is very important in Turkey. If you find anything about it, please share that with a few words.

Thank you. smile

Ola P. Kleivenolak Saturday, February 25, 2012 12:45:21 PM

@stwart: but it doesn't work in earlier Opera's either? Anyway, they send wrong HTTP content-length on several resources. Not sure if that is the reason yet.

@greench: I can't repro now, ad gone?

Çağlar Yeşilyurtgreench Saturday, February 25, 2012 4:23:57 PM

@ola The situation is not reproduced anymore. However, it can be reproducible again soon.

Çağlar Yeşilyurtgreench Monday, February 27, 2012 7:55:10 PM

@ola
In Turkish forums, a guy reported captchas in www.sanalgsm.com www.netgsm.com.tr web sites are not visible enough to read. Both images are in an iframe. Opera behave as an actual web page although the server sends an image/jpeg content-type response. Is that should be mime-type?

where captcha's location on web page.
http://www.hizliupload.com/di-01PV.jpg

Ola P. Kleivenolak Monday, February 27, 2012 8:53:35 PM

Yes, MIME-type is fine. Opera always generates a document to wrap such images. Problem is the auto-resizing of the image-viewer - we need to find a better solution to that.

QuHno Tuesday, February 28, 2012 7:21:12 AM

wish:
Could you please add localhost in this area
else if(hostname.indexOf('opera.com')>-1&& pathname.indexOf('/docs/browserjs/')==0){
so that we can check the version locally with a bookmarklet or toolbar button that displays the content of the bjsversion variable?

(yes, I know that I can check it here)

Çağlar Yeşilyurtgreench Wednesday, February 29, 2012 5:45:05 PM

@Ola
I filled a bug report as DSK-358501. ın http://www.hmag.com/ web page scrolling performance is not enough to provide smooth scrolling. In Turkish Forum, another guy insists on report low scroll performance on some specific web sites. He doesn't scroll smoothly on these web site. I don't have any problem but he has. Do you want any extra information from him?
http://twitter.com
http://my.opera.com/turkish/forums/
http://donanimhaber.com
http://www.operaturkiye.net/

Thank you.

Çağlar Yeşilyurtgreench Wednesday, February 29, 2012 6:04:01 PM

@ola
I saw an old web page appearance issue in Turkish forums.
If you go to http://divxplanet.com/sub/m/27416/Game-of-Thrones.html with Opera, you will see the title and its above as http://prntscr.com/1vcjw. However other browsers display same are as in this image. Although I checked td elements that produce corners have 20px width, Opera display as they have 50% width.

Ola P. Kleivenolak Wednesday, February 29, 2012 10:25:15 PM

Yes, known

Hallvord R. M. Steenhallvors Saturday, March 10, 2012 11:15:45 PM

Originally posted by QuHno:

wish:Could you please add localhost in this area



It's a local variable inside the function expression, so you won't be able to see it from a bookmarklet. But what about making a bookmark that refers to the file itself? If you go to opera:about you'll see the Opera profile folder path, where browser.js is stored. Open that path and then browser.js, add bookmark. smile

QuHno Monday, March 12, 2012 8:44:17 AM

... or I could just open it in NP++ as I do on a regular basis because I want to know how you did some of the patches pirate

It would be even nicer if the version would be shown in opera:about right below the Browser ID.

If then a user asks a question in one of the forums where I answer (s)he just needs to copy the whole section and I have all basic information to exclude some of the most common problems ...

Write a comment

New comments have been disabled for this post.