by awinograd · 10y ago · 0 comments
Also you mentioned this, but disappearing on tab-close makes it less of a drop-in replacement for cookies since that breaks existing behavior.
Interesting idea though! Enjoyed the read.
$('body').on('click', 'a', function() {
this.href += getToken();
});Better use an AJAX lib allowing a global override. Most of them allow it including the one in jquery and angular.