I would like to send a value from the tab html content to my chrome extension background script.
Right now I'm using a workaround, that is
chrome.tabs.executeScript()
to send a code to retrieve data and then send it to my web server via Ajax, and then my background script checks to see if its there in my server. But that's obviously not the right way.
Is there a way to get element values and then send it back to the background script? so I can keep working with the value?
Thanks!