您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
adds a button to save a connection to your calendar
This script is for https://fahrtauskunft.avv-augsburg.de/ and https://bahnland-bayern.de/
This userscript creates a save to my calendar button. AVV keep failing to provide this simple but extremely convenient feature.
Script tested with Tampermonkey only.
Update 2024-02-12: now also works when you select an arrival time, previously it only worked when you were looking for departures.
Update 2024-03-10: now also works on https://bahnland-bayern.de/ aka MoBY
Update 2024-12-19: adapted to handle changed HTML structure on MoBY
Update 2025-01-30: adapted to handle changed HTML structure on AVV
Known bug: when your connections starts before and ends after midnight, hence spanning two calendar days, the calendar entry is probably wrong. As this is a rare case and a fix would take too much time, just be aware of this.