-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anybody got a working code for jko in 2023? #80
Comments
Try this one been working on it for a while let me know if if works: // Safely attempt to set the completion status. // Cache the potentially repeated DOM lookups.
} |
Regarding @bjgonzal's post, this code didn't manage to give me the certificate but it would at least auto-complete the video/learning sections. As always, just start the section, hit F12, and paste into the developer console: // Safely attempt to set the completion status.
if (typeof API_1484_11 !== 'undefined' && typeof API_1484_11.SetValue === 'function') {
API_1484_11.SetValue('cmi.completion_status', 'completed');
}
// Cache the potentially repeated DOM lookups.
var courseHeaders = document.getElementsByName("courseheader");
if (courseHeaders.length > 0) {
var contentDocument = courseHeaders[0].contentDocument || courseHeaders[0].contentWindow.document;
var elementC = contentDocument.getElementById("c");
// Check if element exists and has a submit function before calling it.
if (elementC && typeof elementC.submit === 'function') {
elementC.submit();
}
} |
I deleted the comment. I don't know how to delete your name tho. |
No description provided.
The text was updated successfully, but these errors were encountered: