Greasy Fork is available in English.

NMC Login

Automatic login to NMC

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name       NMC Login
// @namespace  http://use.i.E.your.homepage/
// @version    0.1
// @description  Automatic login to NMC
// @match https://idp.nmc.edu/nidp/saml2/sso?id=new-nmc&sid=*
// @match https://idp.nmc.edu/nidp/idff/*
// @match https://elearn.nmc.edu
// @copyright  2014+, Evanjs
// 0.1 combined P1 and P2 scripts
// ==/UserScript==
if (window.location.href == "https://elearn.nmc.edu/") {
x = document.getElementsByClassName('profilename')[0].textContent;
y = 'Click Here To Log In';
if (x.search(y) > 0) {window.location.href = "https://elearn.nmc.edu/login/index.php"};
}
else {
document.getElementsByName('Ecom_User_ID')[0].value = "username";
document.getElementsByName('Ecom_Password')[0].value = "password";
imageSubmit();
}