Horje

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

Only send the origin of the document as the referrer in all cases. The document https://example.com/page.html will send the referrer https://example.com/.

origin Sends the origin (scheme, host, and port) of the document
index.html
Example: HTML
<script src="myscripts.js" referrerpolicy="origin"></script>





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