The website of Deutsche Bahn bahn.de has this really annoying issue that all of your search details
are lost once you close the tab. This userscript fixes that issue by storing the website state in
localStorage
instead of
sessionStorage
.
Install a userscript manager like Violentmonkey.
Click on the purple install button or alternatively this link:
Your userscript manager will automatically detect that you want to install the script. Follow the instructions of your userscript manager.
This repository is licensed under GPL-3.0-or-later.
As of today (14.11.2023) Deutsche Bahn stores no sensitive data in the state. If you do find a security issue please contact me via matrix.