|
|
|
|
|
by frio
2832 days ago
|
|
Yeah, that might be the only way to handle this reasonably in the short-term -- `if (window.IPFS) { fetch(revisionListFromAnIPNS).then(renderIt) }`... but my concern is that if the standard changes in the future and IPFS gets integrated into browsers/becomes `navigator.IPFS`/etc. -- then all those old, immutable pages are permanently going to check the wrong thing. Still, I guess that's a graceful degradation, because for people who don't have the extension today, they'd see the same behaviour. Perhaps it's best to provide a link to a revision list as the default behaviour, with the window.IPFS test as a mildly nicer progressive enhancement. Cheers :). |
|