I think i will need more time to get some results… to be continued…
By the way, some first results of investigation…
-
This sounds → BAD !!!
-
Like already mentioned before → Wix-Hotel does not provide any API to for communication.
-
Entering the APP itself is also maybe not possible…
But tried to figure out how to get access to the right iFrame/custom element on the body of the Wix-Page…
Found some informations about iFrame elements existing on your site…
The following code has been added to your DASHBOARD-CUSTOM-CODE-SETTINGS…
<script>
console.log("Scanning-code by Russian-Dima running....");
setTimeout(function() {
// Initialize an array to store iframe elements
var arrFrames = [];
var obj = {};
// Search for all iframes on the page
var iframes = document.querySelectorAll("iframe");
console.log("Found " + iframes.length + " iframe(s) on the page.");
// Iterate through each iframe and add to arrFrames
iframes.forEach(function(iframe) {
// Create an object to store iframe details
var iframeObj = {};
iframeObj.src = iframe.src;
// Parse the allow attribute of the current iframe
var allowAttrs = iframe.allow.split(';');
// Create an object to store parsed permissions
var allowObj = {};
allowAttrs.forEach(function(attr) {
var trimmedAttr = attr.trim(); // Remove leading/trailing whitespace
allowObj[trimmedAttr] = true; // Set each attribute as a key with value true
});
// Assign the parsed permissions object to iframeObj.iFrameAllowens
iframeObj.iFrame = iframe;
iframeObj.iFrameAllowens = allowObj;
iframeObj.iFrameAllowens.allowFullscreen = iframe.allowFullscreen;
iframeObj.iFrameAllowens.allowPaymentRequest = iframe.allowPaymentRequest;
iframeObj.iFrameAllowens.autofocus = iframe.autofocus;
iframeObj.iFrameAllowens.hidden = iframe.hidden;
iframeObj.iFrameAllowens.draggable = iframe.draggable;
iframeObj.iFrameAllowens.isContentEditable = iframe.isContentEditable;
iframeObj.iFrameAllowens.browsingTopics = iframe.browsingTopics;
iframeObj.ariaLabel = iframe.ariaLabel;
iframeObj.baseURI = iframe.baseURI;
iframeObj.className = iframe.className;
iframeObj.isConnected = iframe.isConnected;
iframeObj.loading = iframe.loading;
iframeObj.localName = iframe.localName;
iframeObj.nodeName = iframe.nodeName;
iframeObj.nodeType = iframe.nodeType;
iframeObj.namespaceURI = iframe.namespaceURI;
// Push iframeObj into arrFrames array
arrFrames.push(iframeObj);
});
// Search for all elements with class 'APP' on the page
var appElements = document.querySelectorAll(".APP");
console.log("Found " + appElements.length + " element(s) with class 'APP' on the page.");
// Log each app element's tag name to the console
appElements.forEach(function(element) {
console.log("Element tag name:", element.tagName);
});
console.log("Element search completed.");
// Now arrFrames contains all iframe elements found on the page
console.log("All iframe elements:", arrFrames);
// Store arrFrames in obj under 'iframes' key
obj.iframes = arrFrames;
console.log("OBJ:", obj);
}, 3000); // Wait for 3000 milliseconds (3 seconds) before executing
</script>
First conclusion → maybe will not work to fix your problem → but will take some more time…

