Answer the question
In order to leave comments, you need to log in
How do I stop a Chrome extension from closing?
Good evening, I wrote an extension for Google Chrome, which can only work when the extension is open, i.e. if you click somewhere in the browser, it will close and stop working in the middle of the process.
Question: how to make sure that the extension is not closed when clicking on a third-party area or that the script continues to work when the extension is closed (minimized)?
Answer the question
In order to leave comments, you need to log in
You can start a background.js background process and do all the operations there, then your script will continue to work even if the extension's popup window is closed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question