Before and after callback, checks if it's back/forward click or link. More settings