Skip to content

[docs] Add noopener/noreferrer to window.open example #1470

@Madmin27

Description

@Madmin27

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions