Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

The issue is likely caused by the browser's same-origin policy in combination with iframe sandbox restrictions.
While it may appear to be a cross-origin issue, the actual culprit is often the sandbox attribute.

The HTML iframe tag can have a sandbox attribute for security purposes.
It's possible that itch.io embeds uploaded content in a sandboxed iframe hosted on their own servers.
When the sandbox attribute is present, it restricts JavaScript interactions between parent and child frames, form submissions, popups, and same-origin access.
If allow-same-origin is not specified, the iframe content is treated as coming from a completely different origin.
As a result, once an iframe is sandboxed, it is treated as cross-origin, and this leads to a “Permission Denied” error.

Therefore, I recommend reviewing how you're handling iframes or considering alternatives that don't rely on using iframes.

(+1)

Okay, thanks for pointing a direction; it seems I will have to refactor that part system, while figuring out how to force Emscripten to reset the compiled application's variables.

https://github.com/haroldo-ok/CVBasic-emscripten/issues/27