COINCLIX

COINCLIX HELPER

Pasang skrip ini?
Sugesti pemilik skrip

Kamu mungkin juga suka Bypass It.

Pasang skrip ini
  1. // ==UserScript==
  2. // @name COINCLIX
  3. // @namespace coinclix.by.gmxch
  4. // @version 3.0
  5. // @description COINCLIX HELPER
  6. // @author gmxch
  7. // @match *://coinclix.co/*
  8. // @match *://geekgrove.net/*
  9. // @match *://vitalityvista.net/*
  10. // @run-at document-end
  11. // @grant GM_setClipboard
  12. // ==/UserScript==
  13.  
  14. //=== THIS IS ADDITIONAL, U NEED TO DOWNLOAD SC "Bypass It"
  15.  
  16. (function () {
  17. 'use strict';
  18.  
  19. function runWhenHostMatches(hosts, callback) {
  20. if (hosts.some(host => window.location.hostname.includes(host))) {
  21. callback();
  22. }
  23. }
  24.  
  25. function tungguElemen(selector, callback) {
  26. let interval = setInterval(() => {
  27. let elemen = document.querySelector(selector);
  28. if (elemen) {
  29. clearInterval(interval);
  30. callback(elemen);
  31. }
  32. }, 500);
  33. }
  34.  
  35. function tungguDanKlik(selector) {
  36. let interval = setInterval(() => {
  37. let tombol = document.querySelector(selector);
  38. if (tombol) {
  39. clearInterval(interval);
  40. tombol.click();
  41. }
  42. }, 500);
  43. }
  44.  
  45. // === Fungsi 1: Auto Copy & Klik (CoinClix) ===
  46. runWhenHostMatches(["coinclix.co"], function () {
  47. console.log("Fungsi Auto Copy aktif di CoinClix");
  48.  
  49. tungguElemen("i.mdi-content-copy", tombolCopy => {
  50. let kode = tombolCopy.getAttribute("data-clipboard-text");
  51. if (kode) {
  52. GM_setClipboard(kode);
  53. console.log("Kode disalin ke clipboard:", kode);
  54. setTimeout(() => tombolCopy.click(), 500);
  55. }
  56. });
  57. });
  58.  
  59. // === Fungsi 2: Auto Paste & Submit (GeekGrove/VitalityVista) ===
  60. runWhenHostMatches(["geekgrove.net", "vitalityvista.net"], function () {
  61. console.log("Fungsi Auto Paste aktif di", window.location.hostname);
  62.  
  63. navigator.clipboard.readText().then(kode => {
  64. if (!kode.trim()) {
  65. console.warn("Clipboard kosong, tidak ada kode untuk dipaste.");
  66. return;
  67. }
  68.  
  69. tungguElemen("#link_input.form-control", inputForm => {
  70. inputForm.focus();
  71. inputForm.click();
  72. setTimeout(() => {
  73. inputForm.value = kode;
  74. inputForm.dispatchEvent(new Event("input"));
  75.  
  76. tungguDanKlik(".btn-primary.btn-ripple"); // Klik Submit
  77. setTimeout(() => {
  78. tungguDanKlik(".btn-ripple.bg-gradient.btn-primary.btn"); // Klik Continue
  79. }, 1000);
  80. }, 300);
  81. });
  82. });
  83. });
  84.  
  85. })();