diff options
author | Vincent Ambo <mail@tazj.in> | 2021-05-12T11·54+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-05-12T13·19+0000 |
commit | ebf630194148b1f15b6c0144ce868a45fce5cd47 (patch) | |
tree | 0e11287e391a004ebe1b79a90132b079743630ca /users/glittershark/gws.fyi/default.nix | |
parent | 2a97eda3b3cb61e74b9fe9641380cc77c15c766c (diff) |
feat(atward): Support reading configuration from cookies r/2583
Adds support for reading configuration (currently only the `cs` parameter) from cookies and from URL query parameters. The latter take precedence if set explicitly. This is useful for users which can not edit their search query parameters. To make this easier to use the atward landing page has been updated with a simple form where settings can be toggled. This requires Javascript, but the script is small, embedded and MIT licensed (as is the rest of this project). Users without Javascript will be shown a notice about this. It is of course possible to set the cookies manually, too. Change-Id: Ie9a9dbeab4d9a97a349d7988e21f1b46037e1f72 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3110 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/glittershark/gws.fyi/default.nix')
0 files changed, 0 insertions, 0 deletions