Horje

How to add unsafe-url value on HTML <script> referrerpolicy Attribute

Send a full URL when performing a same-origin or cross-origin request. This policy will leak origins and paths from TLS-protected resources to insecure origins. Carefully consider the impact of this setting.

unsafe-url Sends the origin, path, and query string (regardless of security). Use this value carefully!
index.html
Example: HTML
<script src="myscripts.js" referrerpolicy="unsafe-url"></script>





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