title: Synchronous message passing in a Safari Extension
body: <p>I'm working on a safari extension and I was wondering if there is a way to do synchronous message passing in a safari extension.</p>
  
  <p>I want to send a message from my injected javascript to the global page have the injected javascript wait until a result is returned. Having to split my code into another function that receives a message from the global page just seems overly complicated.</p>