A referrer will be sent for same-site origins, but cross-origin requests will contain no referrer information.
same-origin | Sends a referrer for same-origin request. Sends no referrer for cross-origin request |
Example:
HTML
<script src="myscripts.js" referrerpolicy="same-origin"></script>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |