Infinite Coins

change the amount of your coins to troll other people!

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Infinite Coins
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  change the amount of your coins to troll other people!
// @author       Turbo
// @match        https://agma.io/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=agma.io
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
var ischecked = false;
var checkbox = document.createElement('input');
checkbox.type = 'checkbox';
checkbox.id = 'myCheckbox';
checkbox.name = 'myCheckbox';
var label = document.createElement('label');
label.textContent = 'Press to get infinite coins!';
label.setAttribute('for', 'myCheckbox');
var settingTab3 = document.getElementById('userSettings');
settingTab3.appendChild(checkbox);
settingTab3.appendChild(label);
checkbox.addEventListener('change', function() {
  if (checkbox.checked) {
    console.log('Checkbox is checked. Set to true.');
    ischecked = true;
    var coinPrompt = window.prompt("How much coins do u want?\n Type a number below")
    var coinPromptNum = coinPrompt.value
    document.getElementById("coinsDash").textContent = coinPrompt;
    document.getElementById("coins").textContent = coinPrompt
    curserMsg(`Coins Applied!`, 'green')
  } else {
    console.log('Checkbox is not checked. Set to false.');
    ischecked = false;
    curserMsg(`Check the box again to change coins`, 'red')
  }
});
})();