title: How to create auto popup when I access a website
body: <p>I was trying to create an auto popup when I access a web store that is developed in Shopif</p>
  
  <pre><code>&lt;SCRIPT TYPE="text/javascript"&gt;
    function popup(mylink, windowname) { 
      if (! window.focus)return true;
      var href;
      if (typeof(mylink) == 'string') href=mylink;
      else href=mylink.href; 
      window.open(href, windowname, 'width=400,height=200,scrollbars=yes'); 
      return false; 
    }
  &lt;/SCRIPT&gt;
  
  &lt;BODY onLoad="popup('autopopup.html', 'ad')"&gt;
  </code></pre>
  
  <p>I have the above code for Popup Windows Opening Automatically. However, I need assistance on how to make this work on and this is the website that I am trying to work it on <a href="https://petit-tapis.co.uk" rel="nofollow noreferrer">https://petit-tapis.co.uk</a></p>
  
  <p>Thank you in Advance</p>