Skip navigation.

Prepare!

Lee Harvey's Zombie Hit Parade

Posts tagged with "yahoo"

Block Yahoo! Shortcuts in Opera

, , ,

For those interested, here's how to block Yahoo's annoying "Shortcuts" feature in their news articles...

  1. Goto Opera Preferences
  2. Advanced tab
  3. Content section
  4. Press Blocked Content...
Enjoy.

UserJS fix for Yahoo!'s global search box stealing keystrokes

, , , ...

If you're a regular reader of this blog, then you realize how much I despise Yahoo! web developers. Their latest trick is to steal ALL keyboard input using a setTimeout event poller, then place the keystrokes into their stupid global search edit box at the top of the page. Nice going losers.

Anyhow, if you use Yahoo! Sports, and use ANY keyboard commands in Opera, then I highly recommend downloading this script.

Download/view the yahooSport.js script:
if (document.domain.match(/sports\.yahoo\.com$/)) {
  document.addEventListener("load",
    function() {
      document.sf1 = null;
    }, 0);
}

Enjoy.

UserJS to fix Yahoo! Football Play by Play

, , , ...

Yes, Yahoo! stinks when it comes to web coding. Simply right-click any of their pages in Opera, select "Validate", and then watch the markup errors pile-up.

Anyhow, this latest script fixes their NFL and NCAA football play by play display in Opera.

For example:

yahooNFL.js
if (document.domain.match(/^sports\.yahoo\.com$/) && 
  window.location.href.match(/&page=plays/)) {
  document.addEventListener("load",
    function() {
      var yspMainContent = document.getElementById("yspMainContent");
      if (!yspMainContent) return;
      yspMainContent.innerHTML = yspMainContent.innerHTML.replace(/\<thead\>/gi, '<table width="560" border="0" cellpadding="0" cellspacing="0"><thead>');
      yspMainContent.innerHTML = yspMainContent.innerHTML.replace(/\<\/tbody\>/gi, '</tbody></table>');
      }, 0);
}

To learn how to install this User JavaScript, visit UserJS.org

Enjoy.

Yahoo! is really PissingMeOff!

, , , ...

Yes, Yahoo! is really getting bad. I have more User JavaScript files to compensate for Yahoo! than any other website. Why is this? Who knows for sure, but they really have no excuse. After all, they've been in the Internet business longer than most, so they should know better...but they don't!

In the latest example, I often keep multiple live sporting events (hockey games) open at once. After about 15 minutes with Opera, Yahoo! starts serving-up stupid Error 999 pages. Have you ever seen them? The only way to get the page to serve-up its real contents is to continually reload the page URL until the error goes away. Hence, the latest addition to my UserJS collection for Yahoo!...

Dowload yahoo999.js
if (document.domain.match(/^sports\.yahoo\.com$/)) {
   if (window.location.href.indexOf("boxscore?gid=") > 27) {
      document.addEventListener("load",
         function(e) {
            if (document.title.indexOf("999") > 0) {
               window.location.reload(true);
            }
         }, true);
   }
}

If you are experiencing the Yahoo! Error 999 on another Yahoo! site, then you'll need to adjust my domain- and href-specific references above.

As you can see from above, this script continually reloads the page until the silly error 999 disappears from the page title.

Initial testing has revealed this simple technique works really well!

Enjoy.

UserJS to allow access to Yahoo! portals

, , , ...

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

[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!