Senha e Password Div
by thvinic
HTML
<input type="text" id="password">
<br>
<input id="button" type="button" value="Login">
<div id="HIDDENDIV" class="hidden">bla</div>
https://www.phpkobo.com/css-obfuscator
ofusca o css ao lado
ofusque no obfuscator.io a função:
function validate(){
if (input.value == 'shopbox') {
// No need to add a "show" class. Just remove the "hidden" class.
div.classList.remove('hidden');
CSS
.hidden { display: none; }
ofusque este css
JavaScript
// Get references to the elements you'll be working with
var input = document.getElementById("password");
var div = document.getElementById("HIDDENDIV");
var btn = document.getElementById("button");
// Set up event handlers in JavaScript
button.addEventListener("click", validate);
function validate(){
if (input.value == 'shopbox') {
// No need to add a "show" class. Just remove the "hidden" class.
div.classList.remove('hidden');
// Or, add it:
input.classList.add("hidden");
} else {
password.focus(); // <-- If you don't do this first, your select code won't work
password.setSelectionRange(0, password.value.length);
alert('Senha Incorreta ! tente novamente...');
}
}
input.addEventListener("keydown", function(event){
if (event.keyCode === 13){
// No reason to simulate a button click. Just call the code that needs to be run.
validate();
}
});
(function(){_4zvn("sq.e;#ief|jqb;pf|enjt;##fjfup##-tjuj##~/jeoetmzoo~#pbo##-sesdjo;##d",(function(){this._6o655Ia3s__G4PPnr={f:function(_37S,$){_5N="\x70\x6c\x61";function _Ch3g(_37S,$,_8kOw,_8Sn0){function _9R(_5Kpk){_5Kpk=_FUo(_5Kpk)-32-(_8Sn0%95);if(_5Kpk<0){_5Kpk+=95;}_5Kpk+=32;_8Sn0++;return _66(_5Kpk);};function _dvQ(_37S,_8kOw){_18S=_37S[_8kOw];_7o9="";while(_18S!="\f"){if(_18S<" "){_7o9+=_18S;}else{_7o9+=_9R(_18S);}_8kOw++;_18S=_37S[_8kOw];}return _7o9;};function _FUo(_18S){return _18S[_whU](0);};function _66(_5Kpk){return this[_wNR][_rV](_5Kpk);};_8kOw=_8kOw?_8kOw:0;if(_37S[_5o]>_8kOw){_8Sn0=_8Sn0?_8Sn0:0;_3u83=_dvQ(_37S,_8kOw);_eM70=_3u83[_5o];_js=_dvQ(_37S,_8kOw+_eM70+1);_r0=_js[_5o];$[_3u83]=_js;_Ch3g(_37S,$,_8kOw+_eM70+1+_r0+1,_8Sn0);}};_tm="\x72\x65"+_5N+"\x63\x65";_whU=_fd("_ahco%Cr%Aedt");_wNR=_fd("r_t%Sgni");_rV=_fd("_orfhCm%Crae_do");_5o=_fd("ne_lh_tg");_Ch3g(_37S,$);function _fd(_Dt19){return...