javascript redirect to url and opend in new tab code example Example: js redirect to url new tab window.open('http://stackoverflow.com', '_blank');