title: Restricting gtkmozembed to load only pages from certain server(s)
body: <p>for a Python project I'm using <strong>gtkmozembed MozEmbed()</strong> as a simple HTML-browser. What I'm looking for:</p>
  
  <p>(1) Restricting, which servers are allowed to connect to, e.g. only <code>http://localhost</code>.</p>
  
  <p>and/or</p>
  
  <p>(2) A kind of <strong>"onClick()"</strong> function to check if links clicked by user are referring to allowed pages/servers or not.</p>
  
  <p>Anybody have an idea?</p>