title: Desktop notifications allowing not working on chrome
body: <p>So i want my web page to promt for validation on desktop notifications when it loads. So i added onload in body...</p>
  
  <pre><code>&lt;body onload="setAllowNotification() return false;"&gt;
  </code></pre>
  
  <p>This works jsut fine on mozilla firefox but in Google chrome it doesn't show the question. But if i call that function like this, it works.</p>
  
  <pre><code>&lt;a onclick="setAllowNotification(); return false;" href="#"&gt;Click to set allow notifications&lt;/a&gt; 
  </code></pre>
  
  <p>If it helps my setAllowNotification function:</p>
  
  <pre><code>function setAllowNotification()
      {
      window.webkitNotifications.requestPermission(permissionGranted);
      }
  </code></pre>
  
  <p>So any ideas?</p>