I'm fixing the sync part between the open tabs of my app and I remembered that Google Chrome has an API that if I'm not mistaken does exactly what I need, send messages internally in an application.
I took a look at Google and Chrome Developers and got all confused, so I thought it would be better to ask anyone who already understands it.
I need a code that I sent messages to the open tabs of an app (as already mentioned) and also how it would be to receive this message.