 hallvord
join:2005-09-26
| reply to jp10558 Re: [Need] Seeking SBC / Opera testers
said by jp10558 :If you implement this in browserjs, how would someone disable it and use the alternative? You could simply delete the file browser.js from your Opera profile folder. This will permanently disable browser.js. Of course you will not get the other compatibility fixes either, but you could move browser.js to your User JavaScripts folder and remove the bits you do not want. The only thing you loose then is the automatic updates. |
|
 jp10558 Premium join:2005-06-24 Willseyville, NY | reply to hallvord If you implement this in browserjs, how would someone disable it and use the alternative? |
|
 hallvord
join:2005-09-26
| reply to l8r said by l8r :If you plan on installing the presented User JS file in this post, you may notice that the UA.INI file mod seems to be an unnecessary step. Thanks for confirming that. I thought that might be the case but I wasn't sure.
said by l8r :Likewise, if you have other User JS files installed on your system, check Opera's JavaScript console after logging into dsl.sbc.yahoo.com. If you see any references to undefined object, it's because the script presented in this post is destructive. Meaning: it deletes the window.opera object that other User JS files may rely on. FYI, most User JS files simply expect the window.opera object to exist, and don't check for its existence prior to accessing it. This is correct, but this IMO is still the safest and most future-proof way to get around SBC's blocker. While your fix does not cause problems for other User JavaScripts such as this one does, it may not be as future-compatible against updates and changes in SBC's script. I will use my fix in browser.js because I can not check on a regular basis whether your fix still solves the problem without breaking anything.
It is of course an annoying price to pay that user scripts relying on window.opera will not work on the SBC Yahoo site.
Nice to have alternatives.  |
|
  l8r
join:2003-05-03 Curtice, OH
| reply to hallvord All,
If you plan on installing the presented User JS file in this post, you may notice that the UA.INI file mod seems to be an unnecessary step.
Likewise, if you have other User JS files installed on your system, check Opera's JavaScript console after logging into dsl.sbc.yahoo.com. If you see any references to undefined object, it's because the script presented in this post is destructive. Meaning: it deletes the window.opera object that other User JS files may rely on. FYI, most User JS files simply expect the window.opera object to exist, and don't check for its existence prior to accessing it.
For an alternate, non-destructive technique to access dsl.sbc.yahoo.com with Opera, please visit: »my.opera.com/Lee_Harvey/blog/show.dml/29043
Enjoy. |
|