Created
January 28, 2019 18:09
-
-
Save m-242/45b7bc77abb47837611569ab592e0de9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Autofill univ-paris-diderot CAS | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Auto fill and submit CAS for P7's website | |
// @author m242 | |
// @include *auth.univ-paris-diderot.fr/cas/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let USERNAME = 'omorea58'; | |
let PASSWORD = 'MDR garde la pêche'; | |
// Fill forms | |
document.getElementById('username').value = USERNAME; | |
document.getElementById('password').value = PASSWORD; | |
// Send request | |
document.getElementById("fm1").submit() | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.Installes violentmonkey : | |
https://addons.mozilla.org/fr/firefox/addon/violentmonkey/ | |
2. Crée un nouveau script avec le script en dessous, avec ton login dans les variables | |
3. Profites |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment