ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Web Manifest

Open ithinkihaveacat opened this issue 7 years ago • 3 comments

(1) generate a manifest file similar to https://webmanife.st/ (https://github.com/patrickkettner/manifestation) and (2) inject into HTML.

/cc @patrickkettner

ithinkihaveacat avatar Apr 25 '17 15:04 ithinkihaveacat

@ithinkihaveacat - when you say inject into html, how do you mean?

patrickkettner avatar Apr 26 '17 05:04 patrickkettner

@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.

ithinkihaveacat avatar Apr 26 '17 15:04 ithinkihaveacat

This is now possible with Cloudflare Workers. https://www.cloudflare.com/products/cloudflare-workers/

matthewoates avatar Feb 11 '19 20:02 matthewoates