Moodle-gpt
This extension allows you to hide CHAT-GPT in a Moodle quiz. You just need to enter the code configured in the extension on the keyboard and then click on the question you want to solve, and CHAT-GPT will automatically provide the answer. However, one needs to be careful because as we know, CHAT-GPT can make errors especially in calculations.
Disclaimer !
I hereby declare that I am not responsible for any misuse or illegal activities carried out using my program. The code is provided for educational and research purposes only, and any use of it outside of these purposes is at the user's own risk.
Update
- See changelog
Set up
Go to "Manage my extensions" on your browser, then click on "Load unpacked extension" and select the "extension" folder. Afterwards, click on the extension icons and enter the apiKey obtained from openai. Finally, enter a code that will activate the extension on your moodle page and enter the langage of the quiz.
Test
To test the code, you can run the index.js file located in the "test" folder.
Options
-
Title indication: Show some informations into the title to know for example if the code have been injected.

-
Cursor indication: show a pointer cursor and a hourglass to know when the request is finished.
-
Mouseover effect: you will need to hover (or click for select) the question response to complete it automaticaly.

Examples
Select
Put in order question
Resolve equation
One response (radio button)
Multiples responses (checkbox)
True or false
Text
If it can't complete the question, the answer will be copied to your clipboard
To know if the answer has been copied to the clipboard, you can look at the title of the page which will become "Copied to clipboard" for 5 seconds.










