Advanced Amazon Money Hack

This is a advanced amazon money hack! Not really it's not even a hack this script just changes the look of your amazon gift card balance amount by counting up. Have Fun!

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το 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         Advanced Amazon Money Hack
// @namespace    http://jmuse.cf/
// @version      4.0
// @description  This is a advanced amazon money hack! Not really it's not even a hack this script just changes the look of your amazon gift card balance amount by counting up. Have Fun!
// @author       Jmuse
// @match        https://www.amazon.com/*
// ==/UserScript==

(function() {
    'use strict';

    // Special Thanks To Yamid, Chris Sandvik, and jo_va for helping me with this script!

function animateValue(id) {
    var obj = document.getElementById("gc-ui-balance-gc-balance-value");
    var current = parseInt(localStorage.getItem("lastCount")) || 5000; // Number It Starts At

    var interval = null;
    var maxCount = 15000; // Number It Stops At
    var callback = function() {
        var nextCount = current++;
        if (nextCount === maxCount) {
            clearInterval(interval);
        }
        localStorage.setItem("lastCount", nextCount);
        obj.innerText = '$' + nextCount; // Adds the $ symbol next to number to make more legit looking
    }
    interval = setInterval(callback, 0.1);
}
    animateValue('gc-ui-balance-gc-balance-value')
})();