R
R
Ruslan2017-02-06 18:13:25
JavaScript
Ruslan, 2017-02-06 18:13:25

How to make one WebSocket connection to all open tabs of a site?

How to do, one connection to all open tabs of the site. Now it works through localstorage, I did it myself, it often fails. There are some ready-made examples, maybe on other sites, libraries are small for this made.
Any help and advice is appreciated

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton L, 2017-02-06
@antonecma

https://github.com/nodeca/tabex

R
Rossomah, 2017-02-16
@Rossomah

you can use SharedWorker: 1 , 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question