informoTVBoT

informo.tv Bot

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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;
}