// replace every link that goes to unlike.net with unlike.at if we're on unlike.at
$(function() {
  $.each($('a'), function() {
    if(location.href.match(/\.at/)) { $(this).attr('href', $(this).attr('href').replace(/\.net/, '.at')); }
    if(location.href.match(/\.local/)) { $(this).attr('href', $(this).attr('href').replace(/\.net/, '.local')); }
  });
})
