Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read preferences from DOM initialData rather than API? #256

Open
maxpatiiuk opened this issue Dec 22, 2024 · 0 comments
Open

Read preferences from DOM initialData rather than API? #256

maxpatiiuk opened this issue Dec 22, 2024 · 0 comments

Comments

@maxpatiiuk
Copy link
Owner

Google Calendar DOM has a JSON element with id initialdata, that is a treasure trove of data:

  • user preferences: customCalMode, defaultCalMode, weekStart, format24HourTime, locale, hideWeekends
    • don't need to get these from the API
  • user calendars
  • initial events (but only for Main and Family calendars?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant