I am developing an extension that will allow the user to rate the page they are viewing. To do this, I want to capture their click (‘Good’ or ‘Bad’) from the extension popup and also the url of the site they are visiting.
I can capture both these data in JavaScript, but how do I immediately extract this data to my computer? Is there a way to use JS to capture these values in a bucket and load them to an existing XLS file on my machine?
All you need to do is have your extension make an AJAX request from the extension to your server. You’ll need to ask for permission to allow the extension to access your server in the manifest.json file, as described in http://code.google.com/chrome/extensions/trunk/manifest.html#permissions
Once you receive the request on your server, you can do whatever you want with the data.