diff options
| Commit | 6b8cae12cb5d60b37931332d9d8008649ae14566 (patch) | |
|---|---|---|
| Author | 2026-09-12 11:31:19 +0300 | |
| Committer | 2026-09-12 13:54:29 +0300 | |
| Files | 9ff20cdba71fff44e7b23b43e46a75276df6d7f1 /src/regarding-js.du | |
| syndamia.com-6b8cae12cb5d60b37931332d9d8008649ae14566.tar syndamia.com-6b8cae12cb5d60b37931332d9d8008649ae14566.tar.gz syndamia.com-6b8cae12cb5d60b37931332d9d8008649ae14566.zip | ||
| Parent | 918bac7614e560678d51bfba2a25582a3284bdd9 (diff) | |
feat!: Update dunbar markup
Currently the newest version of the markup is not on the main branch,
mostly because of polish and the documentation.
As an effect from the changes to the language, the sitemap is the only
thing which needs to be created externally.
1 files changed, 40 insertions, 33 deletions
| -rw-r--r-- | src/regarding-js.du | 73 |
diff --git a/src/regarding-js.du b/src/regarding-js.du index 2251d3f..b04abd8 100644 --- a/src/regarding-js.du +++ b/src/regarding-js.du @@ -1,75 +1,79 @@ -# Regarding usage of JavaScript +'def title Regarding usage of JavaScript +'def desc Listing of the different JavaScript scripts used in this website and the data they store in the browser. -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!=] +# {title} + +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. {b Any content that doesn't depend on JavaScript will be perfectly consumable without it!} 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). ## Implemented features -:table_5 +:table +:5 |= Script |= Description |= GitLab source |= Size |= Lines -|: [url /scripts/image-show.js image-show.js] +|: {url image-show.js;/scripts/image-show.js} |: Click to zoom on images -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/image-show.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/image-show.js} |: 551B |: 24 -|: [url /scripts/back-to-top.js back-to-top.js] +|: {url back-to-top.js;/scripts/back-to-top.js} |: Automatically appearing button to scroll to top -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/back-to-top.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/back-to-top.js} |: 378B |: 15 -|: [url /scripts/styling-preload.js styling-preload.js] +|: {url styling-preload.js;/scripts/styling-preload.js} |: Disable/enable certain stylesheets before page rendering -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/styling-preload.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/styling-preload.js} |: 385B |: 13 -|: [url /scripts/theme-changer.js theme-changer.js] +|: {url theme-changer.js;/scripts/theme-changer.js} |: Change theme between light and dark (split in two files) -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/theme-changer.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/theme-changer.js} |: 468B |: 18 -|: [url /scripts/page-width.js page-width.js] +|: {url page-width.js;/scripts/page-width.js} |: Change whether text covers the whole width of the page or only the middle (applicable to wide screens) -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/page-width.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/page-width.js} |: 640B |: 23 -|: [url /scripts/expand-navbar.js expand-navbar.js] +|: {url expand-navbar.js;/scripts/expand-navbar.js} |: Button to shrink and expand the sidebar -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/expand-navbar.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/expand-navbar.js} |: 728B |: 20 -|: [url /scripts/presentation.js presentation.js] -|: Presentation logic (button capabilities and other) [=Loaded only on pages with presentations!=] -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/presentation.js Link] +|: {url presentation.js;/scripts/presentation.js} +|: Presentation logic (button capabilities and other) {b Loaded only on pages with presentations!} +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/presentation.js} |: 6.1KB |: 204 -|: [url /scripts/keyboard.js keyboard.js] +|: {url keyboard.js;/scripts/keyboard.js} |: Implements keyboard shortcuts -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/keyboard.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/keyboard.js} |: 810B |: 40 -|: [url /scripts/snow.js snow.js] +|: {url snow.js;/scripts/snow.js} |: Adds and manages falling snowflakes. Functional only in December and January. -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/snow.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/snow.js} |: 814B |: 36 -|: [url /scripts/snow-preload.js snow-preload.js] +|: {url snow-preload.js;/scripts/snow-preload.js} |: Initializes falling snowflake elements -|: [url https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/snow-preload.js Link] +|: {url Link;https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/src/scripts/snow-preload.js} |: 561B |: 20 @@ -86,32 +90,35 @@ Any user data that might be saved isn't, and never will be, used for purposes no |: 413 + ## Data in browser storage .p ### Local storage -:table_3 +:table +:3 |= Key |= Values |= Description -|: [`theme`] -|: [`dark`] | [`light`] +|: {` theme} +|: {` dark} | {` light} |: Saves which theme should be loaded -|: [`width`] -|: [`norm`] | [`wide`] +|: {` width} +|: {` norm} | {` wide} |: Saves in which width pages should be shown -|: [`navbar`] -|: [`norm`] | [`hidden`] +|: {` navbar} +|: {` norm} | {` hidden} |: Saves whether the navbar should be expanded or shrunk -|: [`snow`] -|: [`on`] | [`off`] +|: {` snow} +|: {` on} | {` off} |: Saves whether snowflakes are shown (and animated). Functional only in December and January. + .p |