Horje

How to add same-origin value on HTML <script> referrerpolicy Attribute

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
index.html
Example: HTML
<script src="myscripts.js" referrerpolicy="same-origin"></script>





Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin