How to make a Chrome Extension run code when on a certain url
|Added at||2017-01-05 02:01|
I'm trying to build a Chrome Extension that needs to send a POST request to a server when the user is on a certain url/path.
I have that part working, except the code I have right now only runs when I click on the icon of my Chrome Extension, how would I make the code run every time I'm on a certain url?
I also need data stored in chrome.storage to be accessible in the code that runs every time aswell