Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name New Userscript
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://www.si.ips.pt/*
- // @grant none
- // ==/UserScript==
- function caralho() {
- if (document.getElementsByClassName("conteudocentral")[0].childNodes[6].textContent == "Não tem permissão para aceder a esta página!") {
- setTimeout(() => {
- window.location.href = "https://www.si.ips.pt/ests_si/inscricoes_turmas_geral.inicio_inscricao?p_cur_codigo=9119";
- }, 1500);
- } else {
- alert("ja deu esta merda");
- }
- }
- window.onload = caralho;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement