Skip to content

This script is meant to facilitate the downloads on a Moodle Class by adding a Download All button to every Session.

Notifications You must be signed in to change notification settings

diegovdev/moodle-save-all-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

moodle-save-all-resources

Purpose

This Greasemonkey user script is meant to facilitate the downloads on a Moodle Class by adding a Download All button to every Session.

Also available on userscripts.org http://userscripts.org/scripts/show/175843

Features

  • Single file download just by clicking on its link (default behavior is opening a new window)
  • Download all files (trigger one by one) by clicking on the link Download all
  • Download all files zipped in an archive with folder useful structure by clicking on the link Download all zipped
    This option first fetches all the files an then creates the Zip archive. It marks with a green check sign the files successfully fetched. Marks with a red sign the files that are not downloadable which you should check out by yourself.
  • Avoids the browser to open and render PDF files instead of downloading them.

Supported sites:

Only INCAE Moodle url was added to the @match definition, to be able to use this script in other Moodle installation you will have to add a @match tag with your installation base url.
Sample: @match http://yourmoodleinstall.com/course/view.php*

Notes:

  • When using the Download all link the browser may popup an alert saying This site is downloading multiple files which you have to Allow otherwise the files are not downloaded.
  • On PDF files the some browsers asky you to Keep or Discard before actually downloading.
  • Only INCAE Moodle url was added to the @match definition, to be able to use this script in other Moodle installation you will have to add a @match tag with your installation base url.

How to install

  1. For Firefox install Greasemonkey or Scriptish. For Chrome install Tampermonkey.
  2. Install the userscript itself from userscripts.org, click on Install.

Supported browsers

  • Chrome 14+
  • Firefox 20+

Included plugins

  • jQuery v1.10.2 src
  • multiDownload src
  • jsZip src

Version:1.0rc1
License:GNU General Public License (GPL)

About

This script is meant to facilitate the downloads on a Moodle Class by adding a Download All button to every Session.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published