Generate a Hu-manity consent-banner preview snippet
demo.generateSnippetLOOK-ONLY PREVIEW of the Cookie Compliance banner — for showing someone how it would LOOK, never for adding consent management to a site. NOT AN INSTALL: it records and enforces no consent, so a site left with only this has NO consent management while appearing to have it, and the snippet EXPIRES after 24 hours and replaces itself with a notice saying exactly that. Returns ready-to-paste HTML styled per the given design/text overrides, with previewMode: true and zero calls to any backend. To actually add consent management to a site use install.getSnippet (needs an AppID) or help.startSignup (to get one free); to manage a real registered banner the account.* tools need an authenticated connection — call help.explainTokenSetup. Never accepts a real appID and never emits previewMode: false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Partial overrides of huOptions.text.en. | |
| design | No | Partial overrides of huOptions.design (see demo.explainConfigKey for valid keys). | |
| blocking | No | ||
| globalCookie | No | ||
| currentLanguage | No |