Expand my Community achievements bar.

SOLVED

Cross-Origin Request Blocked

Avatar

Level 2

Hi All, 

I cant able to qualify any target experience in Firefox, I'm getting below error(Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at). Anyone has any solution ?

 

Kirti_23_0-1634534935334.png

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @Kirti_23 

This is the behavior of Firefox, and expectation too; that Target sometimes fails to load in this particular browser. I believe, if you will try in Chrome then it will certainly work.

The reason behind this is some kind of fundamental network error. In many cases, it is caused by a browser plugin (e.g. an ad blocker or privacy protector) blocking the Target request. In today's time, it is generally Firefox's built-in tracking protection called as "Enhanced Tracking Protection". Under this tracking protection, Firefox blocks some network calls. Below is a link that talks more about it.

https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop

Now, here is the SOLUTION - You have to disable "Enhanced Tracking Protection" in Firefox, please find below the steps to achieve the same.

  • Click on the shield icon in the address bar.

         khushbook25_0-1634631963616.png

  • Toggle the switch at the top of the panel from "ON" to "OFF".

          khushbook25_3-1634632319597.png

  • Disabling the tracking protection reloads the site page and this time, with Target loaded successfully on it.

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi @Kirti_23 

This is the behavior of Firefox, and expectation too; that Target sometimes fails to load in this particular browser. I believe, if you will try in Chrome then it will certainly work.

The reason behind this is some kind of fundamental network error. In many cases, it is caused by a browser plugin (e.g. an ad blocker or privacy protector) blocking the Target request. In today's time, it is generally Firefox's built-in tracking protection called as "Enhanced Tracking Protection". Under this tracking protection, Firefox blocks some network calls. Below is a link that talks more about it.

https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop

Now, here is the SOLUTION - You have to disable "Enhanced Tracking Protection" in Firefox, please find below the steps to achieve the same.

  • Click on the shield icon in the address bar.

         khushbook25_0-1634631963616.png

  • Toggle the switch at the top of the panel from "ON" to "OFF".

          khushbook25_3-1634632319597.png

  • Disabling the tracking protection reloads the site page and this time, with Target loaded successfully on it.

 

 

Avatar

Level 5

Hi
The answer should be focus on CORs policy update
Best practice will be white list all the domain the application/web is using (its good for content security)

 

https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Access-Control-Allow-Origin: https://foo.example