Safeguarding target=_blank links
Read OriginalThis article details a common web security vulnerability: using target="_blank" on links without the rel="noopener" attribute. It explains how the new page can access the originating page's window.opener property, allowing for potential phishing attacks (tab-napping) and performance degradation. The solution is to simply add rel="noopener" to all external links using target="_blank".
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser