1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/plugins/tiddlywiki/consent-banner
jeremy@jermolene.com d505eeb269 Consent widget
Block the raw widget unless consent has been granted. This is helpful because the tw2parser generates <$raw> widgets for content embedded with <html>, and thus this blocks YouTube embeds.
2020-07-13 11:49:21 +01:00
..
buttons Add new "Consent Banner" plugin, and update Google Analytics plugin to use it 2020-06-22 11:31:54 +01:00
config Consent widget 2020-07-13 11:49:21 +01:00
banner.tid Add new "Consent Banner" plugin, and update Google Analytics plugin to use it 2020-06-22 11:31:54 +01:00
blocked-embed-message-wrapper.tid Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
config.tid Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
docs.tid Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
plugin.info Consent banner: Reorganise readme 2020-06-22 12:27:58 +01:00
raw-widget.js Consent widget 2020-07-13 11:49:21 +01:00
readme.tid Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
startup.js Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
styles.tid Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00
youtube-macros.tid Consent banner: Add optional blocking of embedded content until consent granted 2020-07-02 13:14:51 +01:00

title: $:/plugins/tiddlywiki/consent-banner/readme

The ''consent-banner'' plugin helps make websites that are compliant with "cookie legislation" such as the [[EU General Data Protection Regulation|https://gdpr.eu/cookies/]].
It presents a banner inviting the user to accept or reject cookies, keeping track of their consent in local storage so that the banner can be hidden on subsequent visits.

By default, content embedded with &lt;iframe>, &lt;embed> and &lt;object> is blocked unless the user consents to accept cookies.

Consent status is  available via a configuration tiddler so that it is possible to construct content that behaves differently depending upon whether consent has been granted. As an example, a macro is provided for embedding ~YouTube videos that automatically uses the youtube-nocookie.com variant of video URLs unless the user has accepted cookies.

Please note that using this plugin does not guarantee compliance with any particular legislation. You will need to understand the technical issues specific to your situation, and if necessary seek legal advice.