UserJS to allow access to Yahoo! portals
Sunday, September 25, 2005 3:37:21 AM
The following non-destructive* User JavaScript allows full access to certain Yahoo! portals. Namely, dsl.sbc.yahoo.com, express.rogers.yahoo.com, avatar.yahoo.com, and avatars.yahoo.com...
Download or view the User JS file
*NOTE: Non-destructive means it should not impact other User JS scripts that may be installed on your system.
For those of you using either of these Yahoo! portals, enjoy!
Download or view the User JS file
[B]if (document.domain.match(/^(dsl\.)?sbc\.yahoo\.com$/) ||
document.domain.match(/^(www\.)?avatar(s)?\.yahoo\.com$/) ||
document.domain.match(/^(express\.)?rogers\.yahoo\.com$/)) {
window.opera.defineMagicFunction("yg_Browser",
function() {
var nav = window.navigator;
this.agt = nav.userAgent.toLowerCase();
this.major = parseInt(nav.appVersion);
this.ns = false;
this.ns6 = false;
this.ns4up = false;
this.op = false;
this.fb = true;
this.dom = 1;
this.ie = 0;
this.ie4up = false;
this.ie5 = false;
this.gk = 1;
this.fx = true;
this.sf = false;
this.win = true;
this.mac = false;
});
}[/B]
*NOTE: Non-destructive means it should not impact other User JS scripts that may be installed on your system.
For those of you using either of these Yahoo! portals, enjoy!

TjLluomat # Tuesday, September 27, 2005 12:59:50 PM
Arve Bersvendsenvirtuelvis # Tuesday, September 27, 2005 3:19:43 PM
Lee HarveyLee_Harvey # Tuesday, September 27, 2005 3:59:04 PM
Arve: As for the 'fix' presented on broadbandreports, while it may be simplified, it breaks many other User JS files that rely on the window.opera object functionality. I would never recommend a destructive script such as that. In fact, it even breaks your own scripts on UserJS.org, such as: http://userjs.org/scripts/general/fixes/disable-sifr Check your JavaScript console.
Hallvord R. M. Steenhallvors # Thursday, October 13, 2005 9:00:58 PM