T
T
TryKote2014-07-06 00:01:03
JavaScript
TryKote, 2014-07-06 00:01:03

How to track the arrival of a new VK message?

I am writing an extension for Google Chrome. The essence of the extension is that in the personal correspondence of VK with the help of embedded JS, one word is replaced with another.
Problem: how to understand that a new message has arrived? Implement a timer check - for this it is necessary to tear off hands on the spot. On the chrome.tabs event. onUpdated .addListeneristener is not responsive.
PS: I uploaded the sources to a file hosting service, because I didn’t understand how to do it right here.
Sources

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question