Skip navigation.

Prepare!

Lee Harvey's Zombie Hit Parade

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.

Lee Harvey's NetFlix script is 100th script hosted on UserJS.orgChuck Norris has counted to Infinity. Twice.

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.