How not to handle on the second tab websocket message?

Hi.
There's an app for receiving push messages from the WSS server.
Page scripts process the message, etc.
If you open two or more pages/tabs of the browser, the same message is processed by all pages/tabs.
I tried using localStorage, but a message comes up simultaneously on all the tabs and everything work.
How to solve the problem?

Front Angular
Back Laravel5.0
August 19th 19 at 23:45
0 answer

Find more questions by tags JavaScript