xcloudx / lock unso

// ==UserScript==
// @name          lock unso
// @namespace      P.com
// @description    fuck unso n get $
// @include        *https://www3.chotot.com/controlpanel?lock=1&m=adqueue&a=show_adqueues&queue=unsolved
// ==/UserScript==

var strHTML = document.body.innerHTML;
var yourTime = new Date();


if((strHTML.indexOf("ERROR_QUEUE_EMPTY") < 0) & strHTML.indexOf("HTTP ERROR 500")<0){
 alert("có unso"); 
} else { 
 window.setTimeout(function(){window.location.reload() ;},4000) ;
} 
return;