informoTVBoT

informo.tv Bot

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name        informoTVBoT
// @version      0.1
// @description  informo.tv Bot
// @author       Yo Bitcoins Thailand
// @include      *
// @match       ://www.informo.tv/
// @run-at      document-end
// @grant        none
// @namespace https://greasyfork.org/users/172683
// ==/UserScript==
var min = 50000;
var max = 65909;
 if (location.href.indexOf('informo') > -1) {
        document.title='YoBot..Working';
        if(window.top.location.href.indexOf('page')  > 1){
              document.title='YoBot..Reading';
        }else{
             num =  getRndInteger(min,max);
             window.top.location.href='https://www.informo.tv/?page=article&id_article='+num;
        }

 //
            var sucCheck = setInterval(function(){
                 num =  getRndInteger(min,max);
                         if ( document.getElementById('s').getAttribute('style').indexOf('block') > -1){
                              clearInterval(sucCheck);
                              document.title='Reading complete';
                             window.top.location.href='https://www.informo.tv/?page=article&id_article='+num;

                          }else if(!document.getElementById('e').getAttribute('style')){
                              window.top.location.href='https://www.informo.tv/?page=article&id_article='+num;
                          }else if(document.getElementById('e').getAttribute('style').indexOf('block') > -1){
                              window.top.location.href='https://www.informo.tv/?page=article&id_article='+num;
                          }else{
                              document.title='Reading...';
                         }
                       },5000);
     //
 }
function getRndInteger(min, max) {
    return Math.floor(Math.random() * (max - min) ) + min;
}