1.5.0 • Published 6 years ago

@phijufa/embedconsent v1.5.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Embedconsent

Cookieconsent extension, written in Vanilla Javascript that toggles embeds from YouTube, Vimeo or Google Maps for better privacy.

Embedconsent depends on cookieconsent. You can find it here: https://www.npmjs.com/package/cookieconsent

Setup and Usage

npm i @phijufa/embedconsent

Check out the example folder. Everything is written in modern Javascript, so you might need Webpack/Babel to make it work for your environment.

There are two basic methods: embedconsent.init() and embedconsent.rerender(). The init() method needs to be called the first time the page loads. The rerender() method will rerender the content based on the current cookie status.

1.5.0

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago