Created
March 1, 2023 19:53
-
-
Save OmkarKirpan/6cef0106fa73a0361a84e2964db26b9e to your computer and use it in GitHub Desktop.
SCORM LMS Hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let ok = SCORM_GetAPI() | |
// setting lesson_status | |
ok.LMSSetValue('cmi.core.lesson_status', 'completed') | |
ok.LMSGetValue('cmi.core.lesson_status') | |
// setting score | |
ok.LMSSetValue('cmi.core.score.raw', '100') | |
ok.LMSGetValue('cmi.core.score.raw') | |
// Saving | |
ok.LMSCommit() | |
ok.LMSFinish() |
My greatest appreciation!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
select content frame in console in devTools