prevent link default action, emulate old version