896 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
72
views
Implementing document anchoring/bookmarking in embedded Collabora Online
I’m working on a document bookmarking feature where users can save references to specific content in embedded Collabora Online documents. The feature needs to work with PDF, DOCX, XLSX, and PPTX files ...
1
vote
0
answers
104
views
How to use PostMessage with TWA to enable communication between TWA & browser via JS?
My LauncherActivity.java file has the following code:
package in.example.app;
import android.content.pm.ActivityInfo;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
public ...
0
votes
0
answers
19
views
Is it possible to communicate with a Stackblitz iframe from the parent webpage using postMessage or other methods?
Reading this answer from developers from StackBlitz I think is not possible but maybe anyone knows another technique to send data from StackBlitz iframe to exterior
https://github.com/stackblitz/core/...
0
votes
0
answers
98
views
window.opener.postMessage() is not working
I am creating a popup with window.open(<URL>). I can verify that the popup is created, and even detect when it is closed. However, when the popup sends a message to the opener using window....
1
vote
0
answers
186
views
TWA postMessage not working - No navigation events or message channel callbacks
Problem
I have a Trusted Web Activity (TWA) Android app built using Bubblewrap. The TWA launches successfully, and the CustomTabs service connects without issues.
However, I'm not receiving any ...
0
votes
1
answer
45
views
How Do I Test Cross (Sub)Domain postMessage?
[Edit: Possible problem located see end.]
I have a website, say example.com, with a subdomain mysub.example.com. I am saving it for local storage on the website www.example.com.
BUT, how do I test my ...
2
votes
1
answer
163
views
Is postMessage still the correct way to send data from a React Native app to a Web App using WebView?
I am developing a mobile application with login features using React Native. Inside the mobile app, I render a Next.js (React) web application using WebView.
To pass user data from the React Native ...
2
votes
1
answer
110
views
PostMessage between windows works on Windows but not on macOS (Chrome Extension)
I am developing a simple Chrome extension that opens a new window (newWindow.html) and sends a message using postMessage. This works perfectly on Windows, but on Chrome in macOS the new window always ...
0
votes
0
answers
17
views
Preventing the parent of a popup from being discarded by Chrome memory saver feature
We have a system where authentication of the user happens in a popup window. The popup communicates the auth success to the parent page via a post message (which includes the OIDC auth code) once ...
0
votes
0
answers
89
views
Cordova App cannot receive message from InAppBrowser WebView via postMessage
I am trying to use Cordova + social login plugin like Facebook + InAppBrowser WebView my wordpress website. In the wordpress site, there's a login button, when user click on the button, trying to send ...
0
votes
0
answers
61
views
Calling contentWindow.postMessage on iframe has no effect
In the vue component below sending a message to an iframe using the iframe.contentWindow.postMessage(...) call has no effect.
The component waits for a message from the iframe and sends a response ...
0
votes
1
answer
158
views
postMessage to iFrame not working through GTM
I'm facing a strange situation. I wrote a code which should send a variable to an iFrame embedded on my page through postMessage().
The parent-page is: "https://www.bestcars.com (example)
The ...
0
votes
2
answers
184
views
postMessage event to a specific event listener
I have one app ( let's call it A ) that incorporatesan app B
I would like to send data from B ( child ) to A ( parent )
I can use this code
window.parent.postMessage(value, '*');
And then in parent
...
1
vote
0
answers
73
views
Implementing Cross-Iframe Communication in Open-Source Appsmith Using postMessage
I am using the open-source version of Appsmith and have two separate Appsmith apps (App1 and App2) embedded on the same HTML page using iframes. I would like these apps to communicate with each other ...
0
votes
0
answers
145
views
Can `postMessage` messages get lost/dropped e.g. if recipient's main thread is coincidentally blocked at the time it should have received it?
Context:
I'm tracking down a hard-to-replicate bug related to messages between frames. One thing I'm mildly suspicious of is that messages between the main frame and an iframe are sometimes not being ...