Refused to execute script
See original GitHub issueI just added this to my site but when I visit it this error gets logged:
Refused to execute script from 'https://alexanderkonietzko-84q9dz1ke-alex289.vercel.app/va/script.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Does this happen because I have X-Content-Type-Options: nosniff enabled?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Refused to execute script, strict MIME type checking is enabled?
But the script.js is located in the nested folder as in: js/myStaticApp/script.js refused to execute script, meme type checking is enabled.
Read more >How to fix Refused to Execute Script Error - its MIME type ('text ...
Fix is very simple. We just have to add below statement to disqus.php file. File is under /plugins/disqus-core folder. ... Just add above...
Read more >Error "Refused to execute script from '' because its MIME type ...
"Refused to execute script from '<URL>' because its MIME type ('') is not executable, and strict MIME type checking is enabled." Environment.
Read more >Refused to execute script from 'https://ourmain.js' because its ...
Refused to execute script from 'https://ourmain.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is ...
Read more >Refused to execute script from because its MIME type ('text ...
Hello, I'm having a problem with deploying on aws elasticbeanstalk. On localhost it runs normally but when deploy to eb I got this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tobiaslins You can use https://devrel-stack-guides.vercel.app/guides.
I did not check if it was resolved after this but if it is I can say it’s resolved for me