Horje

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

Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don't send it to a less secure destination (e.g. HTTPS→HTTP).

index.html
Example: HTML
<script src="myscripts.js" referrerpolicy="strict-origin"></script>





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