I currently have a chrome extension that GET's javascript from my node.js server. However the javascript file I want to serve will depend on the number of times https://www.google.co.uk/ has been visited.
I want to perform this on the server side, so a solution such as express sessions might work. However the extension is not based on the server, so how could this work?
I would like to avoid sending cookies to a database and constantly checking the number to initiate the relevant javascript file.