I want an event page to get a variable from the content script that sends it a message. As far as I know, I can only send a simple JSON message to the event page, such as {greeting: "hello"}. 
How can I send a variable from the content script to the event page?
I've looked into JSON.stringify() to send the variable through the JSON message but I haven't had any luck.
 
     
     
     
    