Skip to content

Instantly share code, notes, and snippets.

View Invincibear's full-sized avatar

Corey Invincibear

  • Vancouver, Canada
View GitHub Profile
let foundAppointment = false
const parseCalendar = () => {
const calendarCells = document.querySelector('app-calendar').querySelectorAll('td')
calendarCells.forEach(cell => {
const hasBlankSpan = cell.querySelector('span.blank') !== null
const hasFullSpan = cell.querySelector('span.scheduleFull') !== null
const availablilityLink = cell.querySelector('a.dayDetails.available')
if (availablilityLink) {