title: Chrome Rich Notifications - How to use it
body: <p>For 2-3 days I'm trying to use Chrome rich notification. I've read some reviews regarding this but nobody tells how to use implement it.</p>
  <ol>
  <li>I want to try it in a html test page. How can I do this? because I couldn't manage to show at least a basic notification... :(</li>
  <li>I want to implement this in an extension that I'm building. How can I do this? There are special instructions?</li>
  </ol>
  <p>I don't need this simple notification:</p>
  <pre><code>function notifyMe() {
  
        if (!(&quot;Notification&quot; in window)) {
          alert(&quot;This browser does not support desktop notification&quot;);
        }
  
        else if (Notification.permission === &quot;granted&quot;) {
          var notification = new Notification(&quot;Message&quot;);
        }
  
        else if (Notification.permission !== 'denied') {
          Notification.requestPermission(function (permission) {
  
            if(!('permission' in Notification)) {
              Notification.permission = permission;
            }
  
            if (permission === &quot;granted&quot;) {
              var notification = new Notification(&quot;Message&quot;);
            }
          });
        }
      }//--Notification code--    
  </code></pre>
  <p>I need rich notification because I need a bunch of options which this is offering.</p>
  <p>Can someone help me with a tutorial or a html test page to understand how to implement it?</p>