title: read Hypertext Transfer Protocol (HTTP or HTTPS)
body: <p>I want to read the protocol the user is on. HTTP or HTTPS and build my url for site 2 on that page accordingly.</p>
  
  <p>Step 1:   <code>Read the url user is on site 1</code>  //Could be anything http or https</p>
  
  <p>Step 2:   <code>Prefix the protocol for site 2 on that site 1 page according. HTTP or HTTPS as per step 1</code></p>
  
  <p>FF handles it good. But IE doesn't allow navigation from HTTPS site to HTTP site.</p>
  
  <pre><code>   &lt;a href="protocol://site2.com/"&gt;Click here for site 2&lt;/a&gt;
  </code></pre>