This is a chrome extension. This will shave off those 2 seconds of your life where you have to click the log in
button and then enter your credentials. Especially useful in the quiz week where every second matters!
I don't have a CWS developer account (cause I don't have 5 dollars, plz gimme money), and hence I couldn't publish this on the webstore. So, I'll give the instructions to run this extension locally on your machine.
-
Clone the repository using
git clone https://github.com/pUrGe12/MoodleAutomateLogin
-
Now open chrome extensions using
chrome://extensions
-
Toggle the
developer mode
button (on the top right) and then click onload unpacked
-
Select the
src
directory (inside the folder you cloned from github). -
Click on
details
and visit theoptions
page. Here you'll be greeted by beautiful frontend. Enter the username and password that you want to login to moodle with. Your credentials are saved in the chrome storage box (I don't have access so chill). -
Now you're good to go!
If you're seeing "invalid credentials", its probably because the webpage isn't able to load properly or something. Navigate to the content2.js
file and change the Wait
function to have 500 or 1000 milliseconds of delay.