Loot up.TV bot

Best engage script you can currently find; have fun

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Loot up.TV bot
// @namespace    http://middleout.foximeme.com
// @version      4.5
// @description  Best engage script you can currently find; have fun
// @author       foximeme (rewritten)
// @include     http://*http://lootup.tv/*
// @include       http://lootup.tv/*
// @include       https://loot up.tv/*
// @include       http://tv.gifthulk.com/watch/*
// @grant GM.openInTab
// @grant        window.close
// @grant        window.open
//@grant        GM_setValue
// @grant        GM_getValue
// @require      http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js
// ==/UserScript==

//jwplayer().setCaptions({"color": "#ffffff", "backgroundColor": "#000000"});




//Finds ads.
var adsearch = document.getElementsByClassName('jw-flag-ads');

//Script.
var interval=13000;
var playing = jwplayer().play(true);
var error = jwplayer().on('adError');
var badad = jwplayer().on('adPause');

//for the whitescreen protection
var vs = jwplayer().stop();
var vi = jwplayer().on('idle');
var ve = jwplayer().on('error');
var pf = jwplayer().play(false);



setInterval(function() {
jwplayer().setVolume(9);
yesiam();
jwplayer().setCurrentQuality(2); //sets quality to 180p
jwplayer().play(true);
jwplayer().addButton(icon("https://i.gyazo.com/7e3254881342d69237889a5d62c48724.png"), label("More Patch Options.."), id("7"));
}, 2000);



setInterval(function() {
interval=Math.round(Math.random()*12000+8000);
if (adsearch.length > 0)  {
    console.log('Searching for bad ads...');
    console.log('No bad ads found! Playing...');
  
}else{
    jwplayer().next();
    console.log(jwplayer().getState());
}
console.log(interval);
}, interval);



//whitescreen temp

if (vs && vi && ve) {
    setTimeout(function() {
        window.location.reload();
    
    }, 600000);
}


//WhiteScreenRefresh

//setTimeout(function() {
//if (vs) {
   // console.log('White Screen! Restarting Engage..');
    //window.location.reload();
//}else{
    //jwplayer().play(true);
 // }

//}, 1200000)






//memprot - HAS GUI SUPPORT !!!1!1!

(function() {
    var countMe = GM_getValue('countMe', 3);
    var enCount = 0;
    jwplayer().on('adComplete', function(event){
        enCount++;
        console.log(enCount); 
     if (enCount == countMe)  {
           window.open("https://partner.engageme.tv/click.php?aff=25674&camp=2934521&from=10215&prod=4&sub1=Bibby&sub2=9b47110d&prod_channel=5&p=wLijp6Bbd4Oqoa2rk6SnqLmrkmWQkLWDmIuo61mbopu5q5Skkk%2B8yg%3D%3D")();                      
}
    });
    $('<span style="border: 2px solid #42f489;padding: 4px;" title="3"><input type="number" style="line-height:1px; width:90px;" size="3" id="countMe" value="" />???? Memprot by Fox</span>').insertBefore('.category-holder');
    $("#countMe").val(countMe);
    $("#countMe").change(function() {
        GM_setValue('countMe', $("#countMe").val());
        if (enCount > countMe) { setTimeout(function() { location.reload();  }, 2000); $('#countMe').html('Resetting'); }
        countMe = $("#countMe" + "ads").val();
    });
})();