Presumably the ideal use case here is for primarily client-side applications. However, it's worth pointing out that you'd never need to bind to every element individually because of event bubbling:
$('body').on('click', 'a', function() {
this.href += getToken();
});