aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/UserAgent.js
Commit message (Collapse)AuthorAge
* Expose Chrome version to todos webview (fix #1211) (#1478)Libravatar Kristóf Marussy2021-06-03
* Expose Chrome version to todos webview (fix #1211) The TickTick todo service fails to load if the Chrome version number does not appear in the User-Agent string. However, login to Google Tasks is prevented by the same. We adopt the "chromeless" User-Agent logic from the service webview, which selectively exposes the Chrome version everywhere except the Google login screen. The common logic was moved into the userAgent-helpers module. * Refactor user agent switching * "Chromeless" user agent switching is extracted into a separate model * Both the service and the todos webview uses the same model