title: Javascript to do ssl pinning?
body: <p>Some employers use root certificate to intercept https. It's also pretty easy to do a man-in-the-middle with for example <a href="https://www.charlesproxy.com/" rel="nofollow">Charles Proxy</a>.</p>
  
  <p>I would like to create a script for my web page that checks if the client uses another certificate than the one I want to be used.</p>
  
  <p>Do you know how to do?</p>