title: How to suppress warning in chrome when using unsupported command-line flags?
body: <p>I am working on a local app that does a few "bad things" mainly using files from a local file system and fetching resources from over site as well.  This has led to a violation of the <a href="https://en.wikipedia.org/wiki/Same-origin_policy" rel="nofollow noreferrer">same origin policy</a> in Chrome.  I am well aware of the security issues with this but need to do it.</p>
  
  <p>In looking at <a href="https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome">this answer</a> and <a href="https://stackoverflow.com/questions/22026984/trying-to-disable-chrome-same-origin-policy">this answer</a> and several others on the internet, many suggest starting Chrome with a variety of command line flags mainly <code>--disable-web-security</code></p>
  
  <p>The issue with this is that Chrome then starts with the warning: </p>
  
  <blockquote>
    <p>You are using an unsupported command-line flag: --disable-web-security. Stability and security will suffer</p>
  </blockquote>
  
  <p>Right below the address bar.</p>
  
  <p>This is for an installation so I obviously can not have this popping up every time I start the app.  Is there a way to suppress this?</p>
  
  <p><a href="https://groups.google.com/a/chromium.org/forum/#!topic/chromium-discuss/O4WpwWvGz4A" rel="nofollow noreferrer">This thread</a> makes it seem like that would be impossible but man, that would be annoying.</p>