Devlog - 2025-09-30
๐ What I Did
๐ง What I Learned
<a href="https://example.com" target="_blank" rel="noopener noreferrer">Example</a>
- Secure (no window.opener hijacking).
- Private (no referrer info leaked).
๐ rel="noopener"
- Prevents the new page from having access to window.opener.
- That means the new site cannot run malicious JavaScript to, for example:
- Redirect your original page to a phishing site.
- Read or manipulate content on your page.
๐ rel="noreferrer"
- Does the same as noopener, but also removes the HTTP referrer header.
- That means the site you open wonโt see the URL of the page it was opened from.
- Itโs a privacy measure โ the target site wonโt know exactly where the user came from.
๐ฅ Whatโs Next
- Flexbox and grids.
| โ Previous | Next โ |