//github.com/GoogleChrome/sw-toolbox.git</code></p>
<h3>Register your service worker</h3><p>From your registering page, register your service worker in the normal way. For example:</p>
<pre class="prettyprint source lang-javascript"><code>navigator.serviceWorker.register('my-service-worker.js');</code></pre><p>As implemented in Chrome 40 or later, a service worker must exist at the root of the scope that you intend it to control, or higher. So if you want all of the pages under <code>/myapp/</code> to be co