diff options
Diffstat (limited to 'js/iife.js')
-rw-r--r-- | js/iife.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/iife.js b/js/iife.js new file mode 100644 index 0000000..43018d5 --- /dev/null +++ b/js/iife.js @@ -0,0 +1,10 @@ +(function () { + /* + We set cookies by default, but we do NOT need consent for these as they + are necessary and as per <https://gdpr.eu/cookies>: "To comply with the + regulations governing cookies under the GDPR and the ePrivacy Directive + you must: ... Receive users’ consent before you use any cookies + __except__ strictly necessary cookies..." + */ + setTheme(localStorage.getItem("theme")); +})(); |