This post was updated on .
How do you know it is an Opera bug? Are you just assuming it is? Assuming that it is Opera's fault is wrong because most of the time, it is the web developer's fault. This is true in this case because, as it turns out, Nabble's evil browser sniffing is causing this bug -- only in Opera because Nabble checks "if ($.browser.opera)". Extra code is not the answer. Negative lines of code is the answer. Remove the evil browser sniffing. Here is the forum thread about Nabble in the My Opera forums: http://my.opera.com/community/forums/topic.dml?id=1067742 Yesterday, I was wrong to ignore "Javascript.jtp". There is another "Nabble.resizeFrames()" function in there. ಠ_ಠ http://nabble.documentfoundation.org/Javascript.jtp?v=19 http://npopuk-forum.986084.n3.nabble.com/Javascript.jtp?v=19 "Nabble.resizeFrames()" calls "Nabble.getMyHeight()". Browser sniffing code gone wrong! Every time the frame is resized, the window height changes, so "(height != $(window).height())" will always be true. "Nabble.resizeFrames()" will call itself recursively, nonstop. I have created a User JS for Opera that will remove Nabble's evil browser sniffing. Fix Nabble: Fix Nabble's frame reloading bug by removing evil browser sniffing for Opera. https://gist.github.com/1129867/ C'mon, Nabble! How many times do I have to say that evil browser sniffing is evil? That is ridiculous. How can you conclude that because your code runs perfectly in Internet Explorer, it is the only browser that can read 100% of the code? What if your code is wrong? You are praising Internet Explorer without doubt for 100% of its perfect rendering -- such a ludicrous claim! Anyway, in this case, Opera is trying to run the code that you give it -- "100% as written". Bad code goes in; bad results come out. |
In reply to this post by arrow
No need. I'm on this like a private investigator. |
In reply to this post by XP1
Well fer one thing - and I have many reason to prefer IE...
I don’t want to use Firefox to read my own HTML code - As it won’t play sound without I load the Huge - overpowering QuickTime.. Which always tries to be the default player... Mobetta to keep it simple... 2 each ther own.. Claude |
That is neither a problem with Firefox nor a problem with web development. Check your program associations settings in Firefox and in your operating system. |
In reply to this post by Hugo <Nabble>
Hi Hugo,
I work for Opera, and yes I use Opera. :) The fix to this bug is very simple--and in fact requires you to remove code, rather than add it. You just have to remove the browser sniffing from Nabble.getMyHeight() (at http://nabble.documentfoundation.org/Javascript.jtp?v=19), e.g., delete else if ($.browser.opera) return document.documentElement.clientHeight; and then the return Math.max(document.body.scrollHeight, document.body.offsetHeight); will return the correct value. Feel free to email me at miket [[attttt]] opera.com if you have any further questions. |
Thanks a lot, Mike! You are the man!
I tested this and it really works. So our embeddable apps will work fine with Opera after the next release, which should happen later today. |
In reply to this post by miketaylr
I have just received this from the host of my nPOPuk site at:
http://npopuk.org.uk (Yes, I know it needs some fixes to the CSS!) So it looks like the Opera guys really are ganging up you, Nabble! :-) Let's hope the fix can be applied soon!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted. |
In reply to this post by Hugo <Nabble>
Thanks Hugo!
|
Free forum by Nabble | Edit this page |