one simple way (using jQuery) is this:
var word='?extraword';
$('a').each(function(){
var link=$(this).attr('href');
$(this).attr('href',link+word);
});
just include this little script at the beginning of your jQuery script and it's done.
UPDATE:
if the links are added dynamically you must change their href
attribute after the page is completely loaded:
$(window).load(function(){
var word='?extraword';
$('a').each(function(){
var link=$(this).attr('href');
$(this).attr('href',link+word);
});
});
also looking at your blog's code I suggest that you put this script at the end of your html code right before the closing body
tag.
UPDATE2:
<script>
$(window).load(function(){
var word='?extraword';
$('a').each(function(){
var thelink=$(this).attr('href');
$(this).attr('href',thelink+word);
});
});
</script>
UPDATE3:
<script>
$(window).load(function(){
var word='?extraword';
$('a').each(function(){
var thelink=$(this).attr('href');
$(this).attr('href',thelink+word);
});
if(window.location.indexOf(word)<0){
window.location=window.location+word;
}
});
</script>