title: Safari Extensions - can't get globalPage from safari object
body: <p>i have problem obtaining <code>globalPage</code>from <code>safari.extension</code> inside injected script.</p>
  
  <p>Every time i try to get it safari returns error in console:</p>
  
  <p><code>TypeError: Result of expression 'safari.extension.globalPage' [undefined] is not an object.</code></p>
  
  <p>Inside Global Page script i don't have problem obtaining it.</p>
  
  <p>Does any one of you know how to resolve this issue ?</p>
  
  <p>Thanks</p>