disable onclick for links with a "target" attribute