Skip to content

Commit

Permalink
Actualizado Nov 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
notroaloch committed Nov 27, 2023
1 parent 4f4792e commit fb25891
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# SIIAU Captcha

Extensión para eliminar el captcha de SIIAU y mejorarlo con una versión Tsurito. Agradecimientos especiales a Peso Pluma, Junior H y Gabito Ballesteros.
Extensión para eliminar el captcha de SIIAU

### Instalación

1. Clonar y descomprimir este repositorio
2. Abrir la administración de extensiones (chrome://extensions/) en Chrome y activar el modo desarrollador
3. Hacer click en **Cargar extensión sin empaquetar** y seleccionar la carpeta descomprimida del paso 1
4. Entrar a [SIIAU](https://siiauescolar.siiau.udg.mx/) con normalidad, la versión Tsurito se activa automáticamente
4. Entrar a [SIIAU](https://siiauescolar.siiau.udg.mx/) con normalidad

### Aviso

Expand Down
10 changes: 1 addition & 9 deletions content.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
const myMain = () => {
const urlImgBanner = 'https://iili.io/HPpvCqN.png'; // Free hosting, automatic delete in 24 hrs
const urlMp3Banner = 'https://dl.sndup.net/m8y6/El%20Tsurito.mp3'; // Free hosting, automatic delete in 24 hrs

let bannerFrame = window.frames[0];
let formFrame = window.frames[1];

const bannerDiv = bannerFrame.document.querySelector('#encabezadoDIV');

bannerDiv.innerHTML = `<div id="encabezadoDIV" style="width:100%;height:100%;);"><audio controls autoplay style="display:none;"><source src="${urlMp3Banner}" type="audio/mp3"></audio><img src="${urlImgBanner}"><div id="usuarioDIV" style="position:absolute;bottom:6px;right:12px;color:white;"></div></div>`;

const loginForm = formFrame.document.querySelector('form[name=detect]');
const submitButton = formFrame.document.querySelector('button[type=submit]');
const divCaptcha = formFrame.document.querySelector('div[class=g-recaptcha]');
Expand All @@ -20,7 +12,7 @@ const myMain = () => {
loginForm.submit();
});

divCaptcha.innerHTML = '<h1>#PorUnSiiauSinCaptcha</h1>';
divCaptcha.innerHTML = '';
};

window.frames[1].addEventListener('load', myMain, false);
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"manifest_version": 2,
"name": "SIIAU Captcha",
"author": "notroaloch",
"description": "Extensión para eliminar el captcha de SIIAU y mejorarlo con una versión Tsurito. Que siga la mata dando viejo, arriba la bandera CT",
"version": "1.0",
"description": "Extensión para eliminar el captcha de SIIAU",
"version": "1.1",
"content_scripts": [
{
"matches": ["https://siiauescolar.siiau.udg.mx/*"],
Expand Down

0 comments on commit fb25891

Please sign in to comment.