Answer the question
In order to leave comments, you need to log in
Track the url change and replace the event handler?
Hello everyone, I am writing an extension for chrome, everything works fine until it comes to ajax sites, vk, yandex images, etc.
I need to slightly change the content on reboot, tell me how can this be implemented?
onhashchange - doesn't work unfortunately :c
Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/en/docs/Web/API/Muta... in general.
https://stackoverflow.com/a/27363569
to catch ajax like this, but you need to be sure that sites use it and that your code is working out earlier.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question