Answer the question
In order to leave comments, you need to log in
How to get number of chrome extension launches?
Tell me how you can implement saving the number of launches of the extension?
That is, the number of browser restarts?
It is obvious to take advantage of saving the variable in local.storage
but how to get information that the browser has been restarted?
Answer the question
In order to leave comments, you need to log in
If the extension is background page, then it starts when the browser starts, at the beginning of the script, update the counter in localStorage and that's it. If the extension is event page, then you can also do it somehow, write in the comments if you have an event page
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question