You are going to create a chrome extension, here is a brief summary of what it will do:
the extension will refresh the chosen tab every X seconds based on the user's data.
Here is how the extension should work in a few steps:
- The user clicks on the extension's icon and a pop-up window appears.
- In this window, the user is prompted to indicate how often the extension should refresh the selected tab.
- Once the user has specified the interval, they must click the "Refresh" button.
- The extension should then refresh the selected tab every X seconds.
- In the popup window, when the user clicks on the "Refresh" button, a text indicating the number of seconds left before each new next refresh should appear.
- When the user clicks on the refresh button, it becomes inaccessible and the stop button becomes accessible.
- When the user clicks on the stop button, the refresh of the selected tab stops.
- You will create the manifest.json file, the popup.html file, the popup.js file and the background.js file.
- You will use manifest version 3 and the correct permissions.
Don't stop generating if you haven't given me all the necessary files and code. Please repeat the request first, then give your response.
user