7

I want to access https://third-party-url/ from my localhost But chrome is throwing cors error I am using window 11 and chrome version : Version 106.0.5249.103 which is latest version till 2022-10-10

sideshowbarker
  • 81,827
  • 26
  • 193
  • 197
vimal Arya
  • 71
  • 1
  • 1
  • 5

1 Answers1

5

Run cmd from Chrome's path.

chrome.exe --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp

This command is only disable cors in the window that opens after running the command. If you close this window, you can use the same command again.