huonghuong1412 / QldtAutoCapcha

// ==UserScript==
// @name         QldtAutoCapcha
// @namespace    http://tampermonkey.net/
// @version      0.1
// @author       MoeVuiVe
// @match        https://www.facebook.com/thanh.pham11699
// @include      http://qldt.ptit.edu.vn/*
// @grant        txt,none
// @run-at       document-start
// @license      GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// ==/UserScript==
document.addEventListener("DOMContentLoaded", function () {
    if (document.getElementById("ctl00_ContentPlaceHolder1_ctl00_lblCapcha")) {
        document.getElementById("ctl00_ContentPlaceHolder1_ctl00_txtCaptcha").value = document.getElementById('ctl00_ContentPlaceHolder1_ctl00_lblCapcha').textContent;
        document.getElementById('ctl00_ContentPlaceHolder1_ctl00_btnXacNhan').click();
    }
})