N
N
Nadim Zakirov2019-11-11 21:44:12
JavaScript
Nadim Zakirov, 2019-11-11 21:44:12

What are the alternatives to the postMessage interface?

It is required to transfer information from one browser window to another. It would seem that it could be simpler: take and write information to localStorage or use the postMessage interface. However, the problem here is that these two tabs are in two different profiles.
In short, the task looks like this:
1. We have a Google Chrome browser
2. We have two profiles in the browser
3. The same site is open in both profiles
4. We need to transfer random text from the window from the first browser to the window of the second browser
5. How is it to do without resorting to using a local server, I do not know
Please help with advice. Now the role of the transmitter is performed by a small local web server to which both browsers are knocking. But the decision is debatable.
Is it possible to organize the connection of two browsers by native means? If yes, then tell me how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chipekwe, 2019-11-11
@XanXanXan

https://habr.com/ru/company/rambler-co/blog/422545/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question