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!

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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')
})();