Last active
December 29, 2015 22:59
-
-
Save tonussi/7740109 to your computer and use it in GitHub Desktop.
Script para atualizar de tempo_em_millis em tempo_em_millis
This file contains hidden or 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 muat | |
// @description Script para atualizar de tempo_em_millis em tempo_em_millis | |
// na página do moodle e nunca mais deslogar. | |
// @include https://moodle.ufsc.br/* | |
// @version 1.1 | |
// @grant none | |
// @author Lucas Tonussi | |
// ==/UserScript== | |
/* | |
* cria uma funcao atualiza_pagina_automatico(tempo_em_millis) para atualizar a pagina | |
*/ | |
/* | |
* install greasemonkey https://github.com/greasemonkey/greasemonkey/ | |
* add this script to your greasemonkey | |
* trabalha apenas no site do mooodle | |
*/ | |
function atualiza_pagina_automatico(tempo_em_millis) { | |
setTimeout("window.location.reload();", tempo_em_millis); | |
} | |
atualiza_pagina_automatico(600000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment