UserJS to allow access to Yahoo! portals
Sunday, 25. September 2005, 03:37:21
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!


luomat # 27. September 2005, 12:59
virtuelvis # 27. September 2005, 15:19
Lee_Harvey # 27. September 2005, 15:59
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.
hallvors # 13. October 2005, 21:00