title: how to register a service worker from different sub domain
body: <p>I have two subdomains: <a href="https://abc.xxxx.com" rel="noreferrer">https://abc.xxxx.com</a> and <a href="https://xyz.xxxx.com" rel="noreferrer">https://xyz.xxxx.com</a>. So my questions:</p>
  
  <blockquote>
    <p>1). is it possible to register a service worker for
    <a href="https://xyz.xxxx.com" rel="noreferrer">https://xyz.xxxx.com</a> from <a href="https://abc.xxxx.com" rel="noreferrer">https://abc.xxxx.com</a>  ? if yes then how?</p>
    
    <p>2). if <a href="http://abc.xxxx.com" rel="noreferrer">http://abc.xxxx.com</a> (<strong>http</strong> insecure) then anyway to register
    a service worker for <a href="https://xyz.xxxx.com" rel="noreferrer">https://xyz.xxxx.com</a> from <a href="http://abc.xxxx.com" rel="noreferrer">http://abc.xxxx.com</a> like in iframe or something....</p>
  </blockquote>
  
  <p>This is a real situation, I am facing for my multiple subdomain. Any help appreciated. Thanks in advance.</p>