You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Opera 11.62 not working for www.spv.no and clanforge.multiplay.co.uk
Hey.The first problem is the bank Sparebanken Vest http://www.spv.no where there is impossible to log in to your bank account where this works perfectly in older builds of Opera.
The second page is http://clanforge.multiplay.co.uk where there are a frame on the right and another frame to the left where the menus are and when you click on Servers, profile etc the frame on the right wont change. This worked perfectly in older builds except 11.62.
I know this 2 sites will be hard to test since you need an account on both sites to test it. But its a major problem then needs to be fixed. I really want to downgrade my Opera for the time being. Is that possible?
-Best Regards
Stian
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links

Link to the image
On the spv.no page this stays like this forever on trying to log in

Link to the image
And on the clanforge page this will always show the news even though i select Server or Profile etc
does it solve these problems to use this user script?
http://files.myopera.com/hallvors/userjs/document_attachEvent.js
In 11.62 we've hidden the document.attachEvent method because having this method caused compatibility problems on certain important sites. I can easily believe that hiding it also causes compatibility issues..
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
Thanks a lot for letting me know whether this helps - it will help us understand the problem.
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
Originally posted by hallvors:
Hi,
does it solve these problems to use this user script?
http://files.myopera.com/hallvors/userjs/document_attachEvent.js
In 11.62 we've hidden the document.attachEvent method because having this method caused compatibility problems on certain important sites. I can easily believe that hiding it also causes compatibility issues..
Hi and thanks for your reply,
I can't answer for the second site mentioned by OP, but for spv.no: Yes, it does work again when using this user script


My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work

This script works perfectly on the bank site www.spv.no but I'm still having the same problem on the other page
http://clanforge.multiplay.co.uk :-/
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
13. April 2012, 17:16:01 (edited)
I hope this will help. All the different pages seems to have .pl after instead of .htm or .php etc.
EDIT: I don't think there's possible to get a free account since it is a webpage for controlling a rented server from multiplay. So I think you will only get access if you rent a server there
Originally posted by SoidSnake:
I'm still having the same problem on the other page
Thanks for saving the files - it fails because we started hiding window.event. This code looks pretty old:
if ( window.event && window.event.srcElement && window.event.srcElement.href )
{
// default the source object
oSrc = window.event.srcElement;
}
else
{
// reload the current page
oSrc = document.getElementById( curTab );
}
}
sUrl = oSrc.href;
Could you please report a bug on this issue?
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work

My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work

My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work
I was wondering how "if (event)" can deliver a false value - as it does since the v11.62 update - although event.which or event.srcElement do deliver proper values.
if ( window.event )
output.innerHTML = "defined"; // "output" is just a debug div box.
else
output.innerHTML = "undefined: "+ [ window.event, window.event === undefined, typeof window.event, window.event.which, window.event.which === undefined ].join( " | " );
… delivers this line in an onKeyUp scenario:
undefined: [object KeyEvent] | true | undefined | 13 | false
Seems a bit illogical to me. Which is why, from my perspective, I don't understand why the code mentioned by hallvors is old. You prevent a runtime error of calling "uncertainObject.attribute" by making sure that the object is defined in the first place, before addressing its attributes. Yet, there is no alternative that I know how to make that check. Instead, these attributes (i.e. "event.which") can only be used by wholly omitting that check.
Doesn't seem like elegant programming to me.
Originally posted by WoodrowShigeru:
I was wondering how "if (event)" can deliver a false value
This is a magic hack for compatibility. The purpose is to make sites that do things like this start working:
if(window.event){
// some IEish thing we don't support
}
and at the same time keep sites that do this working:
if( isOpera )element=event.srcElement;
or
if(!isMoz)element=event.srcElement;
or even just
var type=window.even.type
with no extra detection. It is illogical, but it makes a number of sites that otherwise wouldn't work, work.
Originally posted by WoodrowShigeru:
I don't understand why the code mentioned by hallvors is old
I'd call it old - or at least not well maintained - because it seems to have no usable alternative code for browsers that do not support window.event. More "modern" browsers and coding style don't support or discourage window.event and use the event object passed as an argument to the event listener instead.
My blog: miscoded
Stupid code from major websites uncovered and criticised
Contribute site fixes! - OTW&TA- all sites must work