Skip to content
websniffer.click

Cross-Origin-Opener-Policy

Response header, security

Isolates the page from windows of other origins that open it or that it opens.

Cross-Origin-Opener-Policy: same-origin

With same-origin, a popup from another site cannot keep a reference to your window. It is one of the two headers needed for cross-origin isolation (with Cross-Origin-Embedder-Policy), which unlocks features like SharedArrayBuffer.

Recommended value

same-origin

Check it on a live site

The security header check grades this header together with the others that protect visitors.

Specification: HTML Standard