title: Disable Chrome Same Origin Policy for a specific domain
body: <p>Is it possible to modify the same origin policy in Chrome?</p>
  
  <p>I plan to allow the specific domain <code>foo.com</code> to access an iframe with a different origin. The idea is to have a "login machine" which knows the login data and where to put it. I know about CORS but it's not the solution because I don't have access to some of the different origins to set the custom header.</p>
  
  <p>I know there are many other solutions to build a "login machine" :)
  I tried selenium, and I tried a chrome browser extension. but it wasn't that good and the user experience was bad. </p>
  
  <p>I like Firefox's <code>enablePrivilege</code> but it isnt supported in newer versions.</p>
  
  <p>Is it a lack of functionality if I can't disable-web-security for a specific domain?</p>
  
  <p>best regards</p>