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. π±οΈ
- 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. π
- Install Tampermonkey or Greasemonkey in your browser.
- Create a new script and paste the code from
main.js. π - Save and enable the script. πΎ
- Visit the Academy Europe MBA lesson pages, and the script will automatically handle the completion process. π
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
trueif you want the script to force execution, even if the lesson is already completed. π₯
- 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. π«
This project is licensed under the MIT License - see the LICENSE file for details. π
laurc2004