title: How to activate a function as soon as the client/user enters the site
body: <p>I want to be able to call <code>myFunction</code> as soon as I enter my site. how can I do this?</p>
  
  <pre><code>    function myFunction() {
          myVar = setTimeout(alertFunc, 3000);
      }
  
      function alertFunc() {
          alert("Hello!");
      }) 
  </code></pre>