fungicide / The Age Bypass

// ==UserScript==
// @name           The Age Bypass
// @namespace      http://www.theage.com/
// @description    The Age Bypass by rerouting domain to watoday which serves the same article without paywall.
// @include        http://theage.com.au/*
// @match          *://*.theage.com.au/*
// @version		   0.1
// @grant       GM_log
// @grant       GM_addStyle
// @grant		GM_xmlhttpRequest
// ==/UserScript==

var links,thisLink;
links = document.evaluate("//a[@href]",
    document,
    null,
    XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    null);
for (var i=0;i<links.snapshotLength;i++) {
    var thisLink = links.snapshotItem(i);

    thisLink.href = thisLink.href.replace('http://www.theage.com.au/',
                                          'http://www.watoday.com.au/');
}