Possibility to do anything on confirmed

When its forced to add href to confirmed anchor, then its window reloaded to new page, but when i want to do some custom stuff there after confirmed then its problem, this can fix issue easely when href is #