title: Safari extension that spoofs user-agent?
body: <p>Is it possible to spoof the user agent using a Safari extension? I know that Safari itself is able to spoof using the Develop menu item, but it's too limited for me.</p>
  
  <p>As far as I know, Safari extensions use 'start' and 'end' scripts, but both are executed <em>after</em> the document has been loaded, so I can't use those scripts to change the user agent via JavaScript.</p>
  
  <p>I'm not too sure about this, only started looking into extensions today, so maybe someone has another idea?</p>