3

I want to change referral policy in chrome the default policy for new update in chrome is strict-origin-when-cross-origin I need to change it to no-referrer-when-downgrade

I am using reactjs how can I change the policy

THank you

Kamalesh A
  • 31
  • 1
  • 2
  • Would be great if you could eloberate the question – Trect Oct 31 '20 at 19:07
  • 1
    In google chrome latest update they have changed referral policy to "strict-origin-when-cross-origin" https://developers.google.com/web/updates/2020/07/referrer-policy-new-chrome-default I need to get back old referral policy "no-referrer-when-downgrade" with the help of code, i am using react js for client side – Kamalesh A Nov 02 '20 at 09:00

1 Answers1

4

Add this line in index.html head to go back to old referral policy

<meta name="referrer" content="no-referrer-when-downgrade" />
n_saad
  • 81
  • 2
  • 3
    Worked fine. one point to add here is :- If no referrer policy is set, the browser's default policy will be used. – Varun Saxena Jun 22 '21 at 11:09