ganlanyuan / tiny-slider

Vanilla javascript slider for all purposes.
MIT License
5.24k stars 786 forks source link

Local storage and EU compliance #819

Closed rdggithub closed 1 year ago

rdggithub commented 1 year ago

The tiny slider script is using the browser's local storage to save data about the browser and some slider settings.

There are laws in Europe stating that writing/reading to the user's device is only acceptable without consent when the process of writing/reading to the device is

  1. unconditionally necessary to provide
  2. a service, the user explicitly wishes for

Strictly speaking, I think both conditions are at least disputatious. I doubt a "simple" slider could not work without using the local storage or cookies.

It would be a great feature to be able to disable the slider's usage of the local storage in order to be 100% secure on compliance when using the script in the affected countries.

Thank you very much.

rdggithub commented 1 year ago

pls delete, this is already implemented. sry.