y specced and implemented in Chrome. If the user
      // agent uses that method, the "oldapi" parameter will be set.
      if (parsedUrl.searchParams.get("oldapi")) {
        logText("Your browser is using the deprecated 'url_template' Web Share "
                + "Target API.", true);
      }
    }

    window.addEventListener('load', onLoad);
  </script>
</body>
</html>
