feat: add ?scroll query param to set scroll sensitivity on load (#681)

Follows the same pattern as the existing ?volume param. Lets users
bake a preferred scroll sensitivity into the URL (useful for cast/embed
setups where the settings panel isn't reachable), and it's persisted
to localStorage afterwards so it sticks on future visits.

Fixes #607
This commit is contained in:
Sadok Barbouche
2026-08-05 22:09:53 +01:00
committed by GitHub
parent 613647c72c
commit 30d8e1c595
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -52,6 +52,7 @@ You can use query parameters to customize the Neko web interface. These paramete
| `?cast=1` | Hides all controls and shows only the video. |
| `?embed=1` | Hides most additional components and shows only the video. |
| `?volume=<0-1>` | Sets the volume to the given value (between 0 and 1). |
| `?scroll=<1-100>` | Sets the scroll sensitivity to the given value (1-100). |
| `?lang=<language>` | Sets the language to the given value. |
| `?show_side=1` | Shows the sidebar on startup. |
| `?mute_chat=1` | Mutes the chat on startup. |