demo · v134
expect-no-linked-resources
A Document-Policy that asserts the document declares zero <link rel=...> subresources. Useful for hardened embeds where the absence of linked-prefetch / preload / DNS-prefetch reduces fingerprinting surface and ad-tech surprises. This page scans itself and reports the violation count.
probing Document-Policy: expect-no-linked-resources...
Try it
click "scan this document"
The code
# server response header on the embed:
Document-Policy: expect-no-linked-resources
# Or via meta:
<meta http-equiv="Document-Policy"
content="expect-no-linked-resources">
# Any <link rel="..."> that fetches a subresource
# (preload, prefetch, dns-prefetch, modulepreload, etc.)
# becomes a policy violation, reported via the
# Reporting API.