fabiosangregorio / google-calendar-quick-duplicate

A simple Chrome Extension to quickly duplicate events on Google Calendar
https://chrome.google.com/webstore/detail/google-calendar-quick-dup/belnijodgolpgmpahmdkjbjehbobnfpd
35 stars 9 forks source link

updated div class selectors #23

Closed Felicis closed 1 year ago

Felicis commented 1 year ago

Description

As reported in #22 the extension has mostly stopped working in google-chrome and chromium. More precisely, the shortcut (alt+click) and the event popup "duplicate" button do not work at all. This is because class selectors in the google calendar webpage have changed, which makes the extension app.js crash at line 128 (found in console).

Updating the MINI_CALENDAR_DAY_SELECTOR and MINI_CALENDAR_CURRENT_DAY_SELECTOR to new class strings found in the website code resolves the problems.

References

Testing

Tested in Chromium 112.0.5615.49 and Chrome 114.0.5735.198

fabiosangregorio commented 1 year ago

Thanks for the contribution! Unfortunately those selectors didn't work for events duplicated outside the current month. I updated the selectors in https://github.com/fabiosangregorio/google-calendar-quick-duplicate/pull/24.