DOMCrypt Demo 2: Add a 'Contact' to an 'Addressbook'

See for source code

Try out the demo:

A 'contact' is the Public Key and associated data of one of the people you communicate with. This data is published on a web page inside of a meta tag, e.g:
<meta name="addressbook-entry" 

DOMCrypt will detect this addressbook-entry tag

The user is prompted to save the entry to the addressbook database, which is just a JSON file in the profile folder.

Getting the addressbook entries callback (addressbook){});

[1] An approval and whitelist process for pages that request the public key and addressbook is planned