ssb-frame

sandboxed iframe for ssb web apps

Usage no npm install needed!

<script type="module">
  import ssbFrame from 'https://cdn.skypack.dev/ssb-frame';
</script>

README

ssb-frame

Embed an SSB blob in an iframe. If it is an HTML blob, inject an RPC object into it, to proxy SSB methods.

Install

npm install
npm run build

Usage

var createFrame = require('ssb-frame')(ssb, ssbManifest)

var iframe = createFrame('&blobId...')
document.body.appendChild(iframe)

License

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.