Built directly from GUVI's internal course_content.js, steroid.js, and learnable.js.
The floating control panel markup is in hud.html and its styles are in style.css. hud-loader.js runs in the isolated content-script world to inject extension stylesheets and provide the template to engine.js; engine.js runs in the page's MAIN world so it can seamlessly call GUVI's internal page APIs (window.authorize, window.CourseContent, jQuery).
- Direct Video Completion (
type: 'video-activity'): Callsauthorize.invisibleAjax({ type: 'video-activity', courseId, sublessonId, level }, 'courseContent')directly (the exact API insidecourse_content.jslines 371-380) to immediately mark the video as watched and unlock the Activity quiz without waiting for the timer. - Direct Quiz Validation (
type: 'validate-quiz'): Instead of fighting Bootstrap radio buttons, v3.0 populates$('.quizstorage').data()directly (wherecourse_content.jsline 1255 reads answers from) and callsauthorize.invisibleAjax({ type: 'validate-quiz', courseId, sublessonId, quizData }, 'courseContent'). - 1-Second Answer Discovery (
data.result): GUVI'svalidate-quizresponse returnsdata.result(e.g.["1", "0"]), where"1"means Correct and"0"means Wrong (course_content.jslines 1265-1285). v3.0 locks in every"1"and increments only the"0"questions, solving any multi-question quiz in 1-3 seconds. - Native Auto-Advance (
CourseContent.renderCourse(data)): When all quiz answers are correct, GUVI'svalidate-quizresponse returns the next lesson object and updated syllabus array (data[0].validated). v3.0 passes that directly tonew CourseContent().renderCourse(data)and auto-dismisses the Geekoins popup modal (#preassessmentCompletionModal). - Resilient HUD Injection:
hud-loader.jsinjects the stylesheet and broadcastshud.html.engine.jsincorporates fallback markup and query selectors to guarantee the HUD always appears reliably without timing or parsing errors.
- Go to
chrome://extensions/in Chrome or Edge. - Enable Developer mode in the top right.
- Click Load unpacked and select the folder containing this extension (
PhoolGuvi). - Navigate to any course video page on GUVI (e.g.
https://www.guvi.in/courses-video?course=...).