Skip to content

Laurc2004/Academy-Europe-Lesson-Auto-Complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Academy Europe Lesson Auto-Complete πŸ“

Overview 🌍

This is a Tampermonkey script designed to automatically complete lessons on Academy Europe's MBA course pages. The script will find and click the "Complete" button and then confirm the action by clicking the "Yes" button in the confirmation popup. 🎯

The script is built with flexibility in mind and includes several configurable delays to simulate human behavior, ensuring smooth and natural interaction with the page. πŸ–±οΈ

Features ✨

  • Automatic Completion: Clicks the "Complete" button and confirms with the "Yes" button in the popup. βœ…
  • Configurable Delays: Set custom delays for waiting between actions, ensuring a human-like experience. ⏳
  • Flexible Selectors: Multiple CSS selectors for buttons to ensure compatibility even if the page structure changes. πŸ”„
  • Force Execution Mode: Optionally bypasses checks for already completed lessons and forces the script to run. ⚑
  • MutationObserver: Detects dynamic content loading and waits for the complete button to appear. πŸ‘€

Installation βš™οΈ

  1. Install Tampermonkey or Greasemonkey in your browser.
  2. Create a new script and paste the code from main.js. πŸ“‹
  3. Save and enable the script. πŸ’Ύ
  4. Visit the Academy Europe MBA lesson pages, and the script will automatically handle the completion process. 🏁

Configuration βš’οΈ

You can modify the script's behavior by adjusting the following variables:

  • DELAYS:

    • INITIAL_WAIT: Time to wait after the page loads before starting (in milliseconds). ⏱️
    • BETWEEN_CLICKS: Time to wait between clicks (in milliseconds). ⏳
    • POPUP_WAIT: Time to wait for the popup confirmation to appear (in milliseconds). ⏰
  • FORCE_EXECUTION: Set to true if you want the script to force execution, even if the lesson is already completed. πŸ”₯

Troubleshooting πŸ› οΈ

  • If the script does not find the "Complete" button, make sure the page URL matches the expected format and that the selectors are not outdated. ❌
  • If the "Yes" button is not clicked, check the popup's structure and make sure it's not blocked by the browser. 🚫

License πŸ“œ

This project is licensed under the MIT License - see the LICENSE file for details. πŸ“‘

Author πŸ§‘β€πŸ’»

laurc2004

About

A Tampermonkey script that automatically completes lessons on Academy Europe MBA course pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors