搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

CORS policy issue on Firefox: how to resolve?

  • 1 回覆
  • 1 有這個問題
  • 47 次檢視
  • 最近回覆由 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.

所有回覆 (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.