I’m trying to use the js-dos API to run DOS games on my website, but the emulator stops loading the game at 100% percent, and the browser console gives me this error:
Security Error: Content at file:///C:/Desktop/test.html may not load data from https://js-dos.com/v7/build/releases/latest/js-dos/wdosbox.js.
This is my code:
<script>
emulators.pathPrefix =
"https://js-dos.com/v7/build/releases/latest/js-dos/";
Dos(document.getElementById("jsdos")).run(
"https://doszone-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/2X/2/24b00b14f118580763440ecaddcc948f8cb94f14.jsdos"
);
</script>