Script Hack Skip Videos
Script Hack Skip Videos
lastNotified = Date.now()
if
(document.querySelector("#stageFrame").contentWindow.document.querySelector("#iFram
ePreview") !== null) {
var iframe =
document.querySelector("#stageFrame").contentWindow.document.querySelector("#iFrame
Preview").contentWindow.document.body
} else {
var iframe =
document.querySelector("#stageFrame").contentWindow.document.body
}
if (iframe.querySelector(".quick-check") !== null) {
const notification = new Notification("Quick Check!")
} else if (iframe.querySelector(".try-it") !== null) {
const notification = new Notification("Try it!")
}
}
return question
}
//document.querySelector("#stageFrame").contentDocument.querySelector("#iFramePrevi
ew").contentDocument.querySelector("iframe").contentDocument.querySelectorAll("*").
forEach(element => {element.style.userSelect = "text"})
if (document.querySelector("#stageFrame").contentWindow.API.FrameChain) {
document.querySelector("#stageFrame").contentWindow.API.FrameChain.nextFrame() //
Skips video when possible
}
if
(document.querySelector("#stageFrame").contentDocument.getElementById("invis-o-
div") !== null) {
document.querySelector("#stageFrame").contentDocument.getElementById("invis-
o-div").style.display = "none" // Hides the overlay preventing you from answering
questions
}
if (question != "" && question !== cachedText) { // Only run question code
once
cachedText = question
document.querySelector("#stageFrame").contentDocument.querySelector(".buttons").que
rySelector("#copyQuestion").remove()
}
}
}
document.querySelector("#stageFrame").contentDocument.querySelector(".buttons").ins
ertBefore(
button,
document.querySelector("#stageFrame").contentDocument.querySelector(".buttons").fir
stChild
)
}
if
(document.querySelector("#stageFrame").contentDocument.querySelector(".buttons").qu
erySelector("#copyQuestion") !== null) {
document.querySelector("#stageFrame").contentDocument.querySelector(".buttons").que
rySelector("#copyQuestion").remove()
}
} else {
console.log("EdgenuityAuto not running")
}
}
console.log("Started EdgenuityAuto")