Uncomment autobook

This commit is contained in:
Maks Snegov 2024-04-17 10:05:56 -07:00
parent 671f510ad6
commit 59eb5b14f9
2 changed files with 10 additions and 10 deletions

View File

@ -197,17 +197,17 @@
let $latestAscTime = $latestAscTimes.available_times[0]; let $latestAscTime = $latestAscTimes.available_times[0];
// document.getElementById("appointments_asc_appointment_time").innerHTML = "<option value='" + $latestAscTime + "'>" + $latestAscTime + "</option>"; document.getElementById("appointments_asc_appointment_time").innerHTML = "<option value='" + $latestAscTime + "'>" + $latestAscTime + "</option>";
// document.getElementById("appointments_asc_appointment_time").value = $latestAscTime; document.getElementById("appointments_asc_appointment_time").value = $latestAscTime;
} }
// document.getElementById("appointments_submit").removeAttribute("disabled"); document.getElementById("appointments_submit").removeAttribute("disabled");
// document.getElementById("appointments_submit").click(); document.getElementById("appointments_submit").click();
// if ($autobook) { if ($autobook) {
// bookNow() bookNow()
// } else { } else {
// throwNotification("New Appointment Found", `Hi there. The extension found a new appointment on ${latestDate}. Book now before it's gone!`) throwNotification("New Appointment Found", `Hi there. The extension found a new appointment on ${latestDate}. Book now before it's gone!`)
// } }
} }
// async function sync(force) { // async function sync(force) {

View File

@ -24,5 +24,5 @@
"manifest_version": 3, "manifest_version": 3,
"name": "not-a-rescheduler", "name": "not-a-rescheduler",
"permissions": [ "storage", "tabs", "activeTab", "notifications", "declarativeContent" ], "permissions": [ "storage", "tabs", "activeTab", "notifications", "declarativeContent" ],
"version": "0.0.5" "version": "0.0.6"
} }