Im trying to make a Chrome extension, but got a bit of a headache due to the whole asynchronous programming and communicating.
Essentially what Im trying to do is the