Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Moodle Question Screenshots

Chromium/Brave extension (Manifest V3). Adds a 📸 Save button to every question on a Moodle quiz attempt/review page and saves a clean screenshot of just that question (text, options, your answer, feedback / correct answer when shown). Navbar, timer, flag box and buttons are hidden in the shot. Questions taller than the screen are scrolled and stitched.

Install

  1. Open chrome://extensions (or brave://extensions) and enable Developer mode.
  2. Load unpacked → select the extension/ folder.
  3. Open the extension options and choose where to save (see below).

Use

  • 📸 Save (top-right of each question): saves that question.
  • Extension icon → Save ALL questions on this page: saves every question.

Where files go

Mode When Result
Folder picker Browser supports File System Access API. Click the icon → Grant folder access once per session. <chosen folder>/attempt-<id>/Q01.png …, no prompts
Downloads fallback API missing (e.g. Brave default). Set a subfolder name in options. Single save: Downloads/<subfolder>/attempt-<id>/Q01.png. Save ALL: one attempt-<id>.zip

Brave: enable brave://flags/#file-system-access-api and relaunch to get the folder picker. If the browser's "Ask where to save each file" setting is on, it prompts per download; Save ALL avoids this by producing a single ZIP.

Files

  • extension/manifest.json – MV3 manifest (<all_urls> is required for captureVisibleTab; the content script only runs on */mod/quiz/*)
  • extension/content.js – injects the per-question buttons
  • extension/background.js – capture, stitching, saving, ZIP writer
  • extension/popup.*, extension/options.*, extension/db.js – UI and folder-handle storage (IndexedDB)

Notes

  • Keep the Moodle tab visible and in front while capturing (Chrome only captures the visible tab).
  • No data leaves your machine; nothing is sent over the network.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages