• Add provenance metadata to the DOM, using the terminology of the Memento protocol.

    Note however that the Memento spec only discusses HTTP headers; we take the freedom to use <meta> and <link> tags to ‘embed’ these headers inside the document itself.

    Returns

    Nothing; the Document is mutated.

    Parameters

    • doc: Document

      The Document to add tags to.

    • __namedParameters: { originalUrl?: string; datetime?: Date }
      • Optional originalUrl?: string
      • Optional datetime?: Date

    Returns void