Automatically intercept link and form submissions.