// ==UserScript==
// @name            WeightWatchers SiteRequirements Bypass
// @namespace       http://people.opera.com/rijk/opera/scripts/
// @description     2005-03-03: www.weightwatchers.* are "optimized" for IE and Netscape 4 etc. Using Firefox, you end up on a page telling you that, and you're stuck. This script is redirecting you to their frontpage.
// @include         http://weightwatchers.*
// @include         http://www.weightwatchers.*
// ==/UserScript==

/*
Script source:
  (c) Carlo Zottmann, carlo@g-blog.net
  http://G-Spotting.net/
  Original script from http://docs.g-blog.net/code/greasemonkey
  Copy, use, modify, spread as you see fit.

Changes:
  Rewritten by liorean, 2005-03-20. Repackaged by Rijk.
*/

(function(){
    var
        currentURL=location.href;
    if(/siteRequirements/i.test(currentURL))
    location.href=currentURL.match(/^(https?:\/\/[^\/]+)\//i)[1]+'/index.aspx';
})();

