1
No, it is not possible. There is no native API for this. And in general it is bad practice to depend on communication between tabs.
If you need to observe changes in cookies, maybe you can use setInterval
to read cookies from time to time. So you can see if there have been changes and make a decision about what to do based on this.
For this I strongly recommend localStorage: https://developer.mozilla.org/en-US/docs/Web/API/Window/Window.localStorage
– Paulo Roberto Rosa
@Pauloroberto is possible to listen to events with localStorage?
– N. Dias
gives a read on this question and the answers https://stackoverflow.com/q/26974084/2319589
– Paulo Roberto Rosa