ideas
ideas copied to clipboard
Web Manifest
(1) generate a manifest file similar to https://webmanife.st/ (https://github.com/patrickkettner/manifestation) and (2) inject into HTML.
/cc @patrickkettner
@ithinkihaveacat - when you say inject into html, how do you mean?
@patrickkettner I'm not entirely sure what mechanisms are available. Best case would be transforming the HTML to add <link rel=manifest>
. But it might be sufficient to inject via JS (pretty sure Cloudfare's apps system will support this, though I don't know if browsers will acknowledge it), or even adding the header link: <...>; rel=manifest
.
The other problem is making the manifest itself available. (i.e. arranging for Cloudflare to serve a "virtual" resource that doesn't exist on the origin.) But I'm hoping this will be possible; it's also needed for #257.
This is now possible with Cloudflare Workers. https://www.cloudflare.com/products/cloudflare-workers/