Set start_url in web app manifest based on the URL that was added to homescreen
<p>My site has several subsections. When a user adds the site to their homescreen, I'd like to make sure that the home screen icon launches them into the subsection they were on when they added to homescreen.</p>

<p>I can register a different manifest for each subsection, but this doesn't work for single page apps where there's no page reload. I'm considering storing the subsection in a cookie and then redirecting from a generic start URL based on that cookie.</p>

<p>Is there a better way to do this?</p>