javascript redirect to protected url in new tab using code example Example: javacript open url in new tab window.open(url,'_blank'); window.open(url);