NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Recarga Docent cuando hay error
// @namespace RecargaSiErrorGVA
// @version 0.13
// @description Recarga docent
// @license GPL-3.0-or-later
// @license MIT
// @author Docent
// @match https://docent.edu.gva.es/*
// @grant none
// ==/UserScript==
// ==OpenUserJS==
// @author alextzval
// ==/OpenUserJS==
$(function() {
$(document).on('mousemove', function() {
var divAlerta = $('#imc-alerta-missatge .imc-al-contenidor header p');
if(divAlerta.length>0) {
if(divAlerta.html()=='Error al conectar') {
location.reload();
}
}
});
});