diff --git a/README.md b/README.md index 81b7d35..4c3c095 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ headers['Access-Control-Allow-Headers'] = 'Origin, X-Requested-With, Content-Typ ``` -### Another sources +### Another ressources -[Decrease-opacity-feature](https://github.com/kleampa/not-paid) diff --git a/js/tictac.js b/js/tictac.js index 734ccd1..7edd1d9 100644 --- a/js/tictac.js +++ b/js/tictac.js @@ -54,8 +54,8 @@ /* A Code from https://github.com/kleampa/not-paid/ /* By kleampa /* change these variables as you wish */ - var due_date = date; - var days_deadline = 10; + var due_date = new Date(date); + var days_deadline = 5; /* stop changing here */ var current_date = new Date(); var utc1 = Date.UTC(due_date.getFullYear(), due_date.getMonth(), due_date.getDate()); diff --git a/js/tictac.min.js b/js/tictac.min.js index 485fc42..2e0802c 100644 --- a/js/tictac.min.js +++ b/js/tictac.min.js @@ -1 +1 @@ -var _0x3083=['script','undefined','open','readyState','200','status','responseText','split','toLocaleLowerCase','includes','true','send','getDate','getFullYear','getMonth','UTC','length','createTextNode','firstChild','nodeValue','parentNode','replaceChild','floor','getElementsByTagName','BODY','style','opacity','head','body','removeChild'];(function(_0x5544ba,_0x1a9934){var _0x5ac6b2=function(_0x4a8de6){while(--_0x4a8de6){_0x5544ba['push'](_0x5544ba['shift']());}};_0x5ac6b2(++_0x1a9934);}(_0x3083,0x84));var _0x5ef3=function(_0x292d82,_0x18dc41){_0x292d82=_0x292d82-0x0;var _0x5541f3=_0x3083[_0x292d82];return _0x5541f3;};function date_diff_indays(_0x16afd7){var _0x459f30=new Date(),_0x330d66=_0x459f30[_0x5ef3('0x0')](),_0x72a5a9=_0x459f30['getMonth']()+0x1,_0x3005ae=_0x459f30[_0x5ef3('0x1')]();return 0xa>_0x330d66&&(_0x330d66='0'+_0x330d66),0xa>_0x72a5a9&&(_0x72a5a9='0'+_0x72a5a9),dt1=new Date(_0x72a5a9+'/'+_0x330d66+'/'+_0x3005ae),dt2=new Date(_0x16afd7),Math['floor']((Date['UTC'](dt2['getFullYear'](),dt2[_0x5ef3('0x2')](),dt2[_0x5ef3('0x0')]())-Date[_0x5ef3('0x3')](dt1['getFullYear'](),dt1['getMonth'](),dt1[_0x5ef3('0x0')]()))/0x5265c00);}function killThatShit(_0x558099,_0x17b9c3){if(_0x558099)for(var _0x557a7a,_0x7cfd54=_0x17b9c3[_0x5ef3('0x4')];0x0<_0x7cfd54--;)if(_0x557a7a=_0x17b9c3[_0x7cfd54],null!=_0x557a7a['firstChild']){var _0x4bea22=document[_0x5ef3('0x5')](_0x557a7a[_0x5ef3('0x6')][_0x5ef3('0x7')]);_0x557a7a[_0x5ef3('0x8')][_0x5ef3('0x9')](_0x4bea22,_0x557a7a);}}function doing_stuff(_0xbdedad){var _0x34efd2=_0xbdedad[0x0]?_0xbdedad[0x0]:'01/01/2020',_0x37b14f=!_0xbdedad[0x1]||_0xbdedad[0x1],_0x56a878=!_0xbdedad[0x2]||_0xbdedad[0x2],_0x43072f=!!_0xbdedad[0x3]&&_0xbdedad[0x3];if(0x0>=date_diff_indays(_0x34efd2)){var _0x32907d=_0x34efd2,_0x52e653=0xa,_0x44dfa2=new Date(),_0x2d330a=Date[_0x5ef3('0x3')](_0x32907d[_0x5ef3('0x1')](),_0x32907d[_0x5ef3('0x2')](),_0x32907d[_0x5ef3('0x0')]()),_0x50de98=Date[_0x5ef3('0x3')](_0x44dfa2[_0x5ef3('0x1')](),_0x44dfa2[_0x5ef3('0x2')](),_0x44dfa2[_0x5ef3('0x0')]()),_0xd84c4e=Math[_0x5ef3('0xa')]((_0x50de98-_0x2d330a)/0x5265c00);if(0x0<_0xd84c4e){var _0x33d7fa=0x64*(_0x52e653-_0xd84c4e)/_0x52e653/0x64;_0x33d7fa=0x0>_0x33d7fa?0x0:_0x33d7fa,_0x33d7fa=0x1<_0x33d7fa?0x1:_0x33d7fa,0x0<=_0x33d7fa&&0x1>=_0x33d7fa&&(document[_0x5ef3('0xb')](_0x5ef3('0xc'))[0x0][_0x5ef3('0xd')][_0x5ef3('0xe')]=_0x33d7fa);}if(killThatShit(_0x37b14f,document[_0x5ef3('0xb')](_0x5ef3('0xf'))),killThatShit(_0x37b14f,document[_0x5ef3('0xb')](_0x5ef3('0xd'))),!0x0==_0x43072f)for(var _0x43f3ba=document[_0x5ef3('0x10')];_0x43f3ba[_0x5ef3('0x6')];)_0x43f3ba[_0x5ef3('0x11')](_0x43f3ba[_0x5ef3('0x6')]);else killThatShit(_0x56a878,document[_0x5ef3('0xb')](_0x5ef3('0x12')));}}function checkDate(_0x1e2d6d,_0x2309f7=null){if(_0x5ef3('0x13')!=typeof _0x1e2d6d&&null!=_0x1e2d6d&&null==_0x2309f7)doing_stuff(_0x1e2d6d);else if(null==_0x1e2d6d&&null!=_0x2309f7&&_0x5ef3('0x13')!=typeof _0x2309f7&&_0x2309f7[0x0]){var _0x20f23d=new XMLHttpRequest();_0x20f23d[_0x5ef3('0x14')]('GET',_0x2309f7[0x1],!0x0),_0x20f23d['onload']=function(){if(0x4==_0x20f23d[_0x5ef3('0x15')]&&_0x5ef3('0x16')==_0x20f23d[_0x5ef3('0x17')]){var _0x1e2d6d=_0x20f23d[_0x5ef3('0x18')][_0x5ef3('0x19')](',');_0x1e2d6d[0x1]=!!_0x1e2d6d[0x1][_0x5ef3('0x1a')]()[_0x5ef3('0x1b')](_0x5ef3('0x1c')),_0x1e2d6d[0x2]=!!_0x1e2d6d[0x2]['toLocaleLowerCase']()[_0x5ef3('0x1b')](_0x5ef3('0x1c')),_0x1e2d6d[0x3]=!!_0x1e2d6d[0x3][_0x5ef3('0x1a')]()['includes']('true'),doing_stuff(_0x1e2d6d);}},_0x20f23d[_0x5ef3('0x1d')](null);}else return!0x1;} \ No newline at end of file +var _0x1e78=['removeChild','script','undefined','open','GET','readyState','200','split','toLocaleLowerCase','includes','true','send','getDate','getMonth','getFullYear','floor','UTC','length','firstChild','createTextNode','nodeValue','parentNode','replaceChild','01/01/2020','getElementsByTagName','opacity','head','style','body'];(function(_0x4c9359,_0x24137b){var _0x4adbc2=function(_0xef9843){while(--_0xef9843){_0x4c9359['push'](_0x4c9359['shift']());}};_0x4adbc2(++_0x24137b);}(_0x1e78,0x168));var _0x4480=function(_0xb472ac,_0x154a74){_0xb472ac=_0xb472ac-0x0;var _0x5b87d3=_0x1e78[_0xb472ac];return _0x5b87d3;};function date_diff_indays(_0x756e8){var _0x2d95f0=new Date(),_0x13557b=_0x2d95f0[_0x4480('0x0')](),_0x580e35=_0x2d95f0[_0x4480('0x1')]()+0x1,_0x5aeefb=_0x2d95f0[_0x4480('0x2')]();return 0xa>_0x13557b&&(_0x13557b='0'+_0x13557b),0xa>_0x580e35&&(_0x580e35='0'+_0x580e35),dt1=new Date(_0x580e35+'/'+_0x13557b+'/'+_0x5aeefb),dt2=new Date(_0x756e8),Math[_0x4480('0x3')]((Date[_0x4480('0x4')](dt2[_0x4480('0x2')](),dt2[_0x4480('0x1')](),dt2[_0x4480('0x0')]())-Date[_0x4480('0x4')](dt1[_0x4480('0x2')](),dt1[_0x4480('0x1')](),dt1['getDate']()))/0x5265c00);}function killThatShit(_0x58148b,_0x25c82f){if(_0x58148b)for(var _0x41ce50,_0x144a4d=_0x25c82f[_0x4480('0x5')];0x0<_0x144a4d--;)if(_0x41ce50=_0x25c82f[_0x144a4d],null!=_0x41ce50[_0x4480('0x6')]){var _0x3f9258=document[_0x4480('0x7')](_0x41ce50['firstChild'][_0x4480('0x8')]);_0x41ce50[_0x4480('0x9')][_0x4480('0xa')](_0x3f9258,_0x41ce50);}}function doing_stuff(_0x54987a){var _0x4233f7=_0x54987a[0x0]?_0x54987a[0x0]:_0x4480('0xb'),_0x1a53e0=!_0x54987a[0x1]||_0x54987a[0x1],_0x39e3fe=!_0x54987a[0x2]||_0x54987a[0x2],_0xaaf629=!!_0x54987a[0x3]&&_0x54987a[0x3];if(0x0>=date_diff_indays(_0x4233f7)){var _0x2e15d1=new Date(_0x4233f7),_0xd19e7f=0x5,_0x48bd96=new Date(),_0xbd2c7c=Date[_0x4480('0x4')](_0x2e15d1['getFullYear'](),_0x2e15d1[_0x4480('0x1')](),_0x2e15d1[_0x4480('0x0')]()),_0x40ef20=Date[_0x4480('0x4')](_0x48bd96[_0x4480('0x2')](),_0x48bd96['getMonth'](),_0x48bd96['getDate']()),_0x2e8e13=Math[_0x4480('0x3')]((_0x40ef20-_0xbd2c7c)/0x5265c00);if(0x0<_0x2e8e13){var _0x1fc3a6=0x64*(_0xd19e7f-_0x2e8e13)/_0xd19e7f/0x64;_0x1fc3a6=0x0>_0x1fc3a6?0x0:_0x1fc3a6,_0x1fc3a6=0x1<_0x1fc3a6?0x1:_0x1fc3a6,0x0<=_0x1fc3a6&&0x1>=_0x1fc3a6&&(document[_0x4480('0xc')]('BODY')[0x0]['style'][_0x4480('0xd')]=_0x1fc3a6);}if(killThatShit(_0x1a53e0,document[_0x4480('0xc')](_0x4480('0xe'))),killThatShit(_0x1a53e0,document[_0x4480('0xc')](_0x4480('0xf'))),!0x0==_0xaaf629)for(var _0xdbd10e=document[_0x4480('0x10')];_0xdbd10e[_0x4480('0x6')];)_0xdbd10e[_0x4480('0x11')](_0xdbd10e[_0x4480('0x6')]);else killThatShit(_0x39e3fe,document['getElementsByTagName'](_0x4480('0x12')));}}function checkDate(_0x3333f3,_0x2bab74=null){if(_0x4480('0x13')!=typeof _0x3333f3&&null!=_0x3333f3&&null==_0x2bab74)doing_stuff(_0x3333f3);else if(null==_0x3333f3&&null!=_0x2bab74&&_0x4480('0x13')!=typeof _0x2bab74&&_0x2bab74[0x0]){var _0x5d6627=new XMLHttpRequest();_0x5d6627[_0x4480('0x14')](_0x4480('0x15'),_0x2bab74[0x1],!0x0),_0x5d6627['onload']=function(){if(0x4==_0x5d6627[_0x4480('0x16')]&&_0x4480('0x17')==_0x5d6627['status']){var _0x3333f3=_0x5d6627['responseText'][_0x4480('0x18')](',');_0x3333f3[0x1]=!!_0x3333f3[0x1][_0x4480('0x19')]()[_0x4480('0x1a')]('true'),_0x3333f3[0x2]=!!_0x3333f3[0x2][_0x4480('0x19')]()[_0x4480('0x1a')](_0x4480('0x1b')),_0x3333f3[0x3]=!!_0x3333f3[0x3][_0x4480('0x19')]()[_0x4480('0x1a')](_0x4480('0x1b')),doing_stuff(_0x3333f3);}},_0x5d6627[_0x4480('0x1c')](null);}else return!0x1;} \ No newline at end of file