Files
BetterSEQTA-Plus/src/seqta/utils/isSeqtaEngage.ts
T

10 lines
342 B
TypeScript

/** SEQTA Engage (React) uses a different shell from classic SEQTA Learn. */
export function isSeqtaEngageExperience(): boolean {
return document.title.includes("SEQTA Engage");
}
/** Unauthenticated SEQTA login shell (Learn + Engage). */
export function isSeqtaLoginPage(): boolean {
return document.querySelector(".login") !== null;
}