[docs] Add noopener/noreferrer to window.open example
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- documentation
Research direction
Update docs/base-account/guides/verify-social-accounts.mdx at line 431, where the social verification guide shows the window.open example. Change the example to include noopener,noreferrer in its feature string, then review the rendered documentation to confirm the safer example is shown.
Written by the indexing model from the issue text.
Description
[docs] Add noopener/noreferrer to window.open example
Summary
The social verification guide includes a window.open(..., '_blank') example without noopener or noreferrer.
Affected file
docs/base-account/guides/verify-social-accounts.mdx- Line 431
Current code
window.open(deepLink, '_blank')
Suggested code
window.open(deepLink, '_blank', 'noopener,noreferrer')
Why this matters
When opening a new browsing context, explicitly using noopener helps prevent the opened page from gaining access to the opener context. This makes the docs example safer for developers to copy into production apps.
- Dominant language
- JavaScript
- Stars
- 337
- Forks
- 798
- Avg merge
- 7h 24m
- Merged PRs (30d)
- 51
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from base/docs
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·