Skip to content

Help (English)

PhaserArray edited this page Mar 21, 2020 · 7 revisions
  • How do I enable the extension?
    Navigate to the Moodle environment of your choice and click the extension button extension button icon. The button in the popup should display the hostname of the site you're on, click it to run the extension on that site. If you're turning it on for the first time, it will require permission to access the site. That's it, you should be done!
     
    As a footnote: Give it a couple of seconds before reopening the prompt, it may take a few moments to check the site. If it then says not moodle, check to see you're focused on a valid Moodle environment.

  • How do I disable the extension?
    If you wish to disable the extension on a specific domain, the process is the same as enabling it: Navigate to the domain, click the extension button and click on the blue button at the top to stop running it.

  • Does this work with my Moodle environment? How many can I run it on?
    This extension only runs on Moodle 3.x, which is checked by looking for the version string in the first 250 characters of /lib/upgrade.txt. You can run it on as many Moodle sites as you'd like, keep in mind that settings are stored separately for each site.

  • What do the button colors mean?
    All buttons have three possible states: on (blue), off (white), unclickable (grey)

  • What are modules?
    Modules are essentially different features of the extension. They are called modules, because they are all separate little scripts.

  • How do I toggle modules?
    You can only toggle individual modules on a site-by-site basis by clicking on their respective buttons in the extension popup menu. The buttons to toggle modules only show up when the extension is running on that particular site, if it's not, they're all off.

  • I toggled a module, but the changes didn't take effect, what gives?
    Modules are loaded when a matching page loads, you need to reload the page for the changes to take effect.

  • What does each module do?
    There are currently 5 modules, but feel free to suggest more by opening an issue. They are:

    • Single Page Books
      Moodle has a feature called books, said books can have many pages. This module combines those pages into one large page for an easier reading experience. Example of Single Page Books
    • Single Page Dictionaries
      Moodle's dictionaries are usually split into multiple pages with just a few items on each page, this automatically loads all items on one page.
    • Middle-Click Fix
      Middle-clicking offsite links sometimes opens another Moodle tab with just the offsite link that you have to click again. This adds a flag to automatically redirect you to that page instead of having to click twice.
    • Popups As Tabs
      When editing a course, teachers have an option to have links open in tiny popup windows. These little windows are just awful, modern browsers have tabs for a reason, so this module forces these popups to open as normal links.
    • Prevent Logging Out
      Moodle sessions expire when you're idle for too long, which can cause issues if you're taking a test or something that shouldn't be interrupted. This module performs a GET request on the Moodle environment's homepage every 10 minutes, thus hopefully preventing logout due to inactivity.
Clone this wiki locally