NitroChiptune

Adds chiptune music to Nitrotype garage

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         NitroChiptune
// @namespace    http://tampermonkey.net/
// @version      2025-02-24
// @description  Adds chiptune music to Nitrotype garage
// @author       c00lkat
// @match        https://www.nitrotype.com/garage
// @icon         https://www.google.com/s2/favicons?sz=64&domain=nitrotype.com
// @grant        none
// ==/UserScript==

(function() {
    function playSound(url) {
        var audio = new Audio(url);
        audio.loop = true; // Set to loop the audio
        audio.play();
    }

    // URL of the chiptune music
    var musicURL = "https://cdn.glitch.global/07099a28-733d-44ff-9708-a279d0b188e5/chiptune-ending-212716.mp3?v=1740430912623";

    // Play the sound when the page loads
    window.addEventListener('load', function() {
        playSound(musicURL);
    });
})();