R
R
r4gn4r0k2017-03-04 19:01:45
JavaScript
r4gn4r0k, 2017-03-04 19:01:45

How to find out from content.js about the reload event of the tab on which this script is embedded?

Hello. I am writing an extension for the Google Chrome browser for personal needs.
Faced with the task: you need to learn from content.js about the reload event of the tab on which this script is embedded. The page itself will reload due to form submission and I need to intercept the event when it reloads. The wordstat.yandex.ru page is taken as a basis. Can
this be implemented from content.js (if so, how?) or will you have to use background.js?

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