Skip to content

Instantly share code, notes, and snippets.

View AcrylonitrileButadieneStyrene's full-sized avatar
🐟

Colourless AcrylonitrileButadieneStyrene

🐟
View GitHub Profile
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_name_change_tracker.user.js
Created September 19, 2026 02:56
Detects when a user's name has changed (primarily for guests)
// ==UserScript==
// @name YNO Name Change Tracker
// @match *://ynoproject.net/*
// @version 0.1.0
// @grant unsafeWindow
// @grant GM_getValue
// @grant GM_setValue
// @run-at document-start
// ==/UserScript==
#!/usr/bin/env bash
# ssh-agent is malware that should be ran inside of a sandbox
# run ssh in verbose mode and watch as it gives away every
# one of your identites to every server you connect to
#
# put `IdentitiesOnly yes` at the top of ~/.ssh/config
# and in each `Host` block, put `IdentityFile ~/.ssh/KEYFILE`
trap 'kill $SSH_AGENT_PID' EXIT
eval "$(ssh-agent)"
KEY="$(ssh -G "$1" | rg "^identityfile (.*)$" -r '$1')"
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_status_throttler.user.js
Last active April 5, 2026 00:30
Hides player online/offline notifications from showing too frequently.
// ==UserScript==
// @name YNO Status Throttler
// @match *://ynoproject.net/*
// @description Hides player online/offline notifications from showing too frequently.
// @version 0.1.0
// @grant unsafeWindow
// ==/UserScript==
const THRESHOLD = 300_000; // 5 minutes
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / foobar2000-install.sh
Last active March 7, 2026 00:10
Foobar2000-x86 with Eole on Wine Installer
#!/usr/bin/env bash
rm -rf ~/.local/share/wineprefixes/foobar2000
winetricks -q prefix=foobar2000 ie8 gdiplus d3dcompiler_47 msxml3 msxml6 wsh57 winhttp wininet dxvk
wget https://www.foobar2000.org/downloads/foobar2000_v2.25.7.exe
WINEPREFIX=~/.local/share/wineprefixes/foobar2000 wine foobar2000_v2.25.7.exe /S
rm foobar2000_v2.25.7.exe
git clone https://github.com/Ottodix/Eole-foobar-theme
destination=~/.local/share/wineprefixes/foobar2000/drive_c/users/$USER/AppData/Roaming/foobar2000-v2/
mv Eole-foobar-theme/user-components $destination
mv Eole-foobar-theme/themes $destination
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / ynodesktop-commumojis-installer.bat
Created February 28, 2026 23:58
Commumoji installer for YNOdesktop
@echo off
IF NOT EXIST "%~1" (
echo Please drag and drop YNOdesktop.exe onto this file.
pause
exit
)
echo This script will install scoop.sh, 7zip, nodejs, and asar. Is this okay?
pause
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_silencer.user.js
Last active March 6, 2026 18:08
Silence chat pings from certain users
// ==UserScript==
// @name YNO Silencer
// @match https://ynoproject.net/*
// @version 0.1.1
// @grant unsafeWindow
// ==/UserScript==
const muted = ["Jhme6csEKuLLhgZx", "UZG2PpokzrTQZO4x"];
let count = 0;
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_emoji_copy.user.js
Last active August 9, 2026 00:46
Fixes the copied text representation of YNO Emojis
// ==UserScript==
// @name YNO Emoji Copy
// @match https://ynoproject.net/*
// @version 0.1.2
// @grant unsafeWindow
// ==/UserScript==
let count = 0;
const interval = setInterval(() => {
const target = unsafeWindow.wrapMessageEmojis;
// ==UserScript==
// @name YNO Emoji Autocorrect
// @match https://ynoproject.net/*
// @version 0.1.4
// @grant unsafeWindow
// ==/UserScript==
const ynomojis = new Promise(res => {
const original = Object.keys;
Object.keys = function (object) {
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_linkify.user.js
Last active April 3, 2026 22:39
YNO Linkify - Clickable chat links
// ==UserScript==
// @name YNO Linkify
// @match https://ynoproject.net/*
// @description Makes chat messages with links clickable.
// @version 0.1.1
// @grant unsafeWindow
// ==/UserScript==
let attempts = 0;
const interval = setInterval(() => {
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_sss_restore.user.js
Last active August 23, 2026 20:18
YNO Restore Share Screenshot
// ==UserScript==
// @name YNO Restore Share Screenshot
// @match *://ynoproject.net/*
// @version 0.1.3
// @grant unsafeWindow
// @run-at document-start
// ==/UserScript==
let count = 0;
const interval = setInterval(() => {