auto forward to identity auth page from ipgw pages
当前为
// ==UserScript==
// @name Neu auto forward
// @namespace http://tampermonkey.net/
// @version 0.1
// @description auto forward to identity auth page from ipgw pages
// @author You
// @match http://202.118.1.87/srun_portal_*
// @match http://ipgw.neu.edu.cn/srun_portal_*
// @match https://ipgw.neu.edu.cn/srun_portal_*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant unsafeWindow
// ==/UserScript==
(function() {
'use strict';
// Your code here...
// var button = document.querySelector("a[class='btn btn-outline-dark btn-block']");
var button = document.getElementById('login-sso');
button.focus();
button.click();
// window.location.href = 'https://pass.neu.edu.cn/tpass/login?service=https%3A%2F%2Fipgw.neu.edu.cn%2Fsrun_cas.php%3Fac_id%3D15'
})();