Find User here you can look for a user

Blocked a frame with origin error

5y
#1
Game didn't open on Ubuntu 18.04 with this error:

Uncaught DOMException: Blocked a frame with origin "file://" from accessing a cross-origin frame.
at new webAppCore (file:///opt/ApeAppsLauncher/resources/app.asar/src/js/webappcore.js:192:39)
at file:///opt/ApeAppsLauncher/resources/app.asar/src/js/webappcore.js:7:25
at file:///opt/ApeAppsLauncher/resources/app.asar/src/js/webappcore.js:3010:3
5y
#2
Is your Javascript all up to date?
Questions?
Concerns?
Feeling lonely?
Feel free to get in touch with me via message or heading over to
https://discord.gg/tsBg6Ec
1y
#3
This error "Blocked a frame with origin from accessing a cross-origin frame " is not a bug. The same-origin policy is a security mechanism that ensures that window objects only have access to the informations they are authorized to get.

The window.postMessage() method provides a controlled mechanism to securely circumvent this Same-Origin Policy restriction. The window.postMessage() safely enables cross-origin communication between Window objects; e.g: between a page and an iframe embedded within it.

postMessage(message, targetOrigin)
postMessage(message, targetOrigin, [transfer])

targetOrigin - specifies what the origin of targetWindow must be for the event to be dispatched, either as the literal string "*" (indicating no preference) or as a URI.

http://net-informations.com/js/err/sop.htm
My Colony





Welcome
Ape Apps, LLC is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day