#adds a shortcut (ctrl+shift+s) to

1 messages ยท Page 1 of 1 (latest)

fallow bone
#

audio containing version for gits and shiggles

document.addEventListener('keydown', function(event) {
    if (event.ctrlKey && event.shiftKey && event.key === 'S') {
        event.preventDefault(); // prevents the default action
        const buttonDisable = document.querySelector('button[aria-label="Disable Silent Typing"]');
        const buttonEnable = document.querySelector('button[aria-label="Enable Silent Typing"]');
        
        if (buttonDisable) {
            buttonDisable.click();
            const audio = new Audio('https://nathanlaptopv.axolotl-snake.ts.net/fb8fvsjlpc0x2alhsygla04drgn40vcy-on.mp3');
            audio.play();
        } else if (buttonEnable) {
            buttonEnable.click();
            const audio = new Audio('https://nathanlaptopv.axolotl-snake.ts.net/9jwd6ky3l947i4k1yqrcp4xr3rpd5fvk-off.mp3');
            audio.play();
        } else {
            console.log('no button, no click');
        }
    }
});
snow violet
#

gits and shiggles

spare yoke
#

will these sounds work in the future? discord has recently added expiration for things on its cdn

neat zephyr
#

yeah the links will probably expire lol. but you can host the sounds elsewhere and replace the links

fallow bone
#

but if anyone has the interest in hosting the audios and sending it here, feel free to

spare yoke
#

Maybe try cf or github pages

pure grove
#

the URL works for me and tailnet members, but some people on the wider web can't reach it

pure grove
fallow bone
pure grove
#

alright, can you send me the two files you want me to host?

fallow bone
#

thanks a lot dude, that's pretty cool

pure grove
#

yw

#

also if they disappear ping me