 document.querySelector('#output').appendChild(p);
      p.appendChild(document.createTextNode(message));
    }

    function onLoad() {
      var parsedUrl = new URL(window.location.toString());
      logText("Title shared: " + parsedUrl.searchParams.get("title"));
      logText("Text shared: " + parsedUrl.searchParams.get("text"));
      logText("URL shared: " + parsedUrl.searchParams.get("url"));
      // We still have the old "url_template" member in the manifest, which is
      // how WST was previousl