I am getting a CORB error in Chrome Incognito mode while trying to load an external Javascript file to the DOM. Onething to note is CORS was enabled for this external JSfile and it's working in the normal mode.
Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type text/html.
On Page load I am trying to add an external JS file to Dom using
script = docuemnt.createElement('script');
script.setAttribute('src', 'js-file.js');
document.head.appendChild(script);
Response from js-file.js was blocked in chrome incognito mode. Any help to resolve this issue is appreciated.