title: Disable firefox same origin policy
body: <p>I'm developing a local research tool that requires me to turn off Firefox's same origin policy (in terms of script access, I don't really care about cross domain requests). </p>
  
  <p>More specifically, I want scripts in the host domain to be able to access arbitrary elements in any iframes embedded in the page, regardless of their domain.</p>
  
  <p>I'm aware previous Q&amp;As which mentioned the CORS FF extension, but that is not what I need, since it only allows CORS, but not script access.</p>
  
  <p>If it cannot be done easily, I would also appreciate any insights that point me to specific part of FF src code that I can modify to disable SOP, so that I can recompile FF.</p>