diff options
Added information about new scripts in regarding js page
1 files changed, 18 insertions, 2 deletions
| -rw-r--r-- | src/regarding-js.md | 20 |
diff --git a/src/regarding-js.md b/src/regarding-js.md index 8253fd4..0bc6afb 100644 --- a/src/regarding-js.md +++ b/src/regarding-js.md @@ -3,9 +3,11 @@ --- --- -On 20.02.2022 I decided to lift the "ban" on usage of JavaScript in this website. This gives me the freedom to implement some useful features for those that have it enabled. **Any content that doesn't depend on JavaScript will be perfectly consumable without it! There isn't and never will be anything that violates a user's privacy!** +On 20.02.2022 I decided to lift the "ban" on usage of JavaScript in this website. This gives me the freedom to implement some useful features for those that have it enabled. **Any content that doesn't depend on JavaScript will be perfectly consumable without it!** -To keep everything transparent, all pages on [Web Apps]() will require JavaScript to run and for everything else I will list information here. +Any user data that might be saved isn't, and never will be, used for purposes not listed here. There isn't, and won't ever be, any form of tracking or data collection that isn't required for some feature (listed here). + +All pages on [Web Apps](/web-apps) will require JavaScript to run and for everything else I will list information here. ## Implemented features [](#Implemented%20features) @@ -14,4 +16,18 @@ To keep everything transparent, all pages on [Web Apps]() will require JavaScrip |---|---|---| |Click to zoom on images|[Link](https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/image-show.js)|[Link](/scripts/image-show.js)| |Automatically appearing button to scroll to top|[Link](https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/back-to-top.js)|[Link](/scripts/back-to-top.js)| +|Change theme between light and dark (split in two files)|[Link F1](https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/theme-changer-preload.js) [Link F2](https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/theme-changer.js)|[Link F1](/scripts/theme-changer-preload.js) [Link F2](/scripts/theme-changer.js)| + +## Data in browser storage +[](#Data%20in%20browser%20storage) + +<p></p> + +### Local storage +[](#Local%20storage) + +|Description|Key|Values| +|---|---|---| +|Saves which theme should be loaded|`theme`|`dark`\|`light`| +<p></p> |