Send a full URL when performing a same-origin request, but only send the origin of the document for other cases.
origin-when-cross-origin | Sends the origin of the document for cross-origin request. Sends the origin, path, and query string for same-origin request |
Example:
HTML
<script src="myscripts.js" referrerpolicy="origin-when-cross-origin"></script>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |