Skip to content

Simple JS library for creating a notice that cookies are used on the website.

Notifications You must be signed in to change notification settings

dainst/idai-cookie-notice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

idai-cookie-notice

Simple JS library for creating a notice that cookies are used on the website.

The library handles displaying the message and saving the fact in a cookie that the user gave her consent by clicking the dismiss-button. The message is shown again after 30 days.

Installation

npm i idai-cookie-notice --save

Usage

Just include idai-cooke-notice.js in your HTML.

Styling

Styling uses bootstrap classes but can be customised using CSS with the id #idai-cookie-notice.

About

Simple JS library for creating a notice that cookies are used on the website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published