Greasy Fork is available in English.

playNotificationSound

Add playNotificationSound function

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/486920/1335447/playNotificationSound.js

// ==UserScript==
// @name         Notification Sound
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  Add playNotificationSound function
// @author       IgnaV
// @grant        none
// ==/UserScript==

const _base64notificationAudios = [
    "SUQzBAAAAAAAW1BSSVYAAAAuAAAAeyJub3RlIjoiIiwiZGF0ZSI6IjIwMjMtMDYtMTBUMjI6NDk6MTMuMTYzWiJ9VFNTRQAAAA8AAANMYXZmNTkuMjcuMTAwAAAAAAAAAAAAAAD/+1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABJbmZvAAAADwAAACcAAByrAA0NExMTGhogICAnJy0tLTMzOjo6QEBAR0dNTU1TU1paWmBgZmZmbW1tc3N6enqAgIaGho2Nk5OTmZmgoKCmpqatrbOzs7m5wMDAxsbMzMzT09PZ2eDg4Obm7Ozs8/P5+fn//wAAAABMYXZjNTkuMzcAAAAAAAAAAAAAAAAkBFEAAAAAAAAcq7eDjGIAAAAAAAAAAAAAAAAAAAAA//tAZAAM8QMknRAgEnAAAA0gAAABBCDuhkEAqcgAADSAAAAEBpoGSwIcH6dGO5CMdc/IQWGP2eCAfCIWOCNhTP3VgQBgIYF/B5/671NqnvTI7f/1/pVncpgEHYo459dhff04bB+qWBdV1HV5DB+PJUaNUiUotJVq1EPSlFZOFkynW4tRnJmRWnwYPv1MysVUUmp3R1XBQ/B/9iWMjEIhhsHGKpBNp1KIkIBvtHjo+kdraxlX5yv/+0JkKADx4UG8wGIfIgAADSAAAAEG7AMHoIRAKAAANIAAAASAh+tF32UbtyK/3yn2/+5eFWu57/omN87VdtlSaasjdZxl7apppptuX8iFPfqWL1yk4zMDQhyxev//04B1dCQAAG+jt/B+AAAAADoQhPcnAPA8H2vL/iep1evfqAAAAQwA888zAZNk/0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uXbmBgBH/8fh9/V0WtZ5QRwDv///8Ll6HJGLKAADbPBy1kHChE3kANjjDIzXVxIe7kbwLv/7QmRDgPGvMMxTgGwQAAANIAAAAQaUw0msAVBwAAA0gAAABBfPft8QYEb//FUjf/+zwpf///8KA+WxEExM8QCj/daSp3DhJky5YjefFsQgiNeeG5dHGH+p9Mvh6P//DqPP//1IxO////8L+WVSi0PAUWtAAb96K8JIUSwS9HiwCxVCNoE+3XV7U1tWDIiv/xwO/r+rIqC8GP///8KEupBGHBKIEQAN+0zkeKjI4x2NJIibAjXnd//7QmRXgPGLMM5IumjcAAANIAAAAQZowz+NCa6wAAA0gAAABCX0hcL579viSgTn/4uFv//5UEr////jEPoIioGgUUIgAOR6joylUjNQ7DUdYUCMCxhVRS5Yv/+UBL/8GBz//+B/////GxYSnUTAYYT/3eDDEhS4agwDDTeh/tBtzTv5JfioML/+RxW///IobH///+TaUq0EoFFDYAGvrcx5GQHaLQXw+XlwzXM6H9Hl9fEoN//wZP/7QmRugPGNMNNp4FQcAAANIAAAAQYgw0en4apwAAA0gAAABFH//5QEH////AkLiYai0f/4XwNxmRiermYgMgSyMSl9K0/jGQyzokf/xHn///4r////4wxZDo0EwGGHIACym2QCrF+OPF4ci0ZBZ1EATFBcjQ1P/lTv/zS///5UAZ////i93L03gYYRgAa+9TrLOfQ82NdKTIwY6of0eR6Xx0EP/woS///QHP///+NHVx2FwGGDgP/7QGSGgfFoMM5oOlDIAAANIAAAAQVQwU+ngbBwAAA0gAAABACkFdCQlW4tytG8T3BALH7Cy7P/+MAhb/0B4z//+H7////mATEhAExLsxDbSAu0x1XzRIZQCLwHQGxcFDE8qrRLGkwaYo78roN69vx+LPf/HKGh//9RGhqhH///5w6EOXUo7R0TUmrDTjJwPB6rhIEEtB0JUAhguLJtdo5lqIZgcAyD67H8h+cn2e083WPwHN13//tCZKOD8Wkw0+ngVBwAAA0gAAABBTjDToeFrrAAADSAAAAE6usK8RP/29SxoAFlBf///3AaAkWJgplTws8S1Bo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VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV//sQZN2P8AAAaQcAAAgAAA0g4AABAAABpAAAACAAADSAAAAEVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU="
];

const _notificationSounds = _base64notificationAudios.map(base64notificationAudio => new Audio("data:audio/wav;base64," + base64notificationAudio));

const playNotificationSound = (notificationIndex = 0) => {
    try {
        (_notificationSounds[notificationIndex] || _notificationSounds[0]).play();
    } catch (error) {
        console.error('Error al reproducir el sonido de la notificación:', error);
    }
};