washington1995luiz / MK

// ==UserScript==
// @name         MK
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        http://172.31.255.2/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    var user = document.getElementById('xxlogin');
    if(user !== null){
    user.setAttribute('placeholder','Nome de Usuário')
    }
    var password = document.getElementById('xxsenha');
    if(password !== null){
    password.setAttribute('type','text')
    password.setAttribute('placeholder','Senha')
    }
    let ip = document.getElementById('ip')
    if(ip !== null){
       ip.onclick = function(){ window.open(`http://${ip.getAttribute('placeHolder')}:8080`, '_blank') }
    }
})();