You are on page 1of 3

Username humanatic: pedrobrovo@outlook.com Password: DAY6seventeen!

correo
aria2019 correo principal/paypal: fresndosfx@outlook.com SEVENTEENxtwice

Tamparmonkey

// ==UserScript==
// @name HUMANATIC- 2018
// @namespace http://tampermonkey.net/
// @version 77.0
// @description Auditar mejor las llamadas
// @author Lexander Ortega Acevedo
// @match https://www.humanatic.com/pages/humfun/review/?*
// @match https://www.humanatic.com/pages/humfun/noCalls.cfm
// @match www.humanatic.com/pages/humfun/review/?category=4
// @grant none
// ==/UserScript==

if(location.href === 'https://www.humanatic.com/pages/humfun/noCalls.cfm'){

betaSkipCall = function(yes,callback){
yes = yes === undefined ? true : yes;
callback = callback === undefined ? null : callback;
isSkip = true;
$('.fa-pause').parent().click();
$.ajax({
url: "https://www.humanatic.com/pages/humfun/cfc/humfun_activities.cfc",
type: 'post',
data: {
method: 'check_minigame',
score: getRandomInt(1,9)
},
async: yes,
dataType: 'json',
oldUrl: location.href,
oldTitle: document.title,
beforeSend: function(){
history.replaceState( {} , 'Break Room', 'break_room.cfm');
},
success: callback?callback:function(){
history.replaceState( {} , this.oldTitle, this.oldUrl);
location.reload();
}
});

};
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function getData(src){
console.log('Obteniendo Estadisticas...');
$('.payout-info-holder').fadeOut(function(){
this.remove();
});
$.ajax({
url: 'https://www.humanatic.com/pages/humfun/payout.cfm',
type: 'get',
audioSrc: src,
success: function(res){
saldo = $(res).find('.payout-info-holder');
$(saldo).hide().appendTo('.humfun-review-section-left').addClass('module-
section').css({width: '100%', left: '-5px', margin: '5px'}).find('.hover-
container').remove();
$(saldo).append('<style> @media (max-width: 910px) { .payout-info-
holder{display: none;} } </style>');
$('.payout-info-holder').fadeIn();
waitNewCall(this.audioSrc);
}
});
}
btnSIGUIENTE = document.createElement('button');
btnSIGUIENTE.innerText = 'SIGUIENTE';
btnSIGUIENTE.onclick = betaSkipCall;
btnSIGUIENTE.id = 'boton';
$(btnSIGUIENTE).append('<style>#boton { height: 100%; color: white;
background: #007def; border-radius: 6px; width: 52%; transition-duration: 0.5s ; }
#boton:hover{ background: white; color: #007def; } #boton:active{ color: black;
}</style>');
$('.audio-controls').append(btnSIGUIENTE);
$('.audio-issues.audio-btn').hide();
document.body.onkeyup = function(event){
var key = event.key;
switch(key){
case ' ':
$('.play.audio-btn').click();
break;
case 'o':
btnSIGUIENTE.click();
break;
case 'Enter':
$('.humfun-options-list-item-active .humfun-options-list-item-submit-
btn:visible').click();
break;
default:
if(!isNaN(key)){
if(key == '0') $('.humfun-options-list-item-active').removeClass('humfun-options-
list-item-active');
$('.humfun-options-list-items>div:nth-child('+key+')').click();
}
break;
}
};

function waitNewCall(src){
src = src || '';
newSrc = $('audio').attr('src') || '';
if(src !== newSrc){
console.log('old: ',src,', New: ',newSrc);
src = newSrc;
getData(src);
} else {
setTimeout(waitNewCall.bind(null,src),500);
}
}

waitNewCall();

You might also like