This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CORS policy issue on Firefox: how to resolve?

  • 1 reply
  • 1 has this problem
  • 28 views
  • Last reply by techguy150

more options

Hello, How can I enable CORS (Cross-Origin Resource Sharing) on Firefox so that I can access the data from a different domain than the one I'm currently on? I'm trying to fetch data from a website hosted on https://checkmepcobill.pk/mepco-bill-calculator/ , but it's showing me the 'Access-Control-Allow-Origin' error. Can anyone guide me through the steps to enable CORS on Firefox? Thank you in advance.

Hello, How can I enable CORS (Cross-Origin Resource Sharing) on Firefox so that I can access the data from a different domain than the one I'm currently on? I'm trying to fetch data from a website hosted on [https://checkmepcobill.pk/mepco-bill-calculator/ https://checkmepcobill.pk/mepco-bill-calculator/] , but it's showing me the 'Access-Control-Allow-Origin' error. Can anyone guide me through the steps to enable CORS on Firefox? Thank you in advance.

All Replies (1)

more options

Open Firefox browser and in the address bar type about:config and hit Enter button. Click on I'll be careful, I promise! Button. In search box type origin. Look for security. fileuri. Double click on security. fileuri.