Skip to content

Instantly share code, notes, and snippets.

View cjmaxik's full-sized avatar
🤦‍♂️

CJMAXiK cjmaxik

🤦‍♂️
View GitHub Profile
@cjmaxik
cjmaxik / script.user.js
Last active October 19, 2026 19:44
Immersive Chat for YouTube
// ==UserScript==
// @name Immersive Chat for YouTube
// @namespace https://www.youtube.com
// @icon https://icons.duckduckgo.com/ip2/youtube.com.ico
// @version 1.2.4
// @description Immersive fullscreen chat experience for YouTube with Ambient mode on + configurable chat width and show/hide avatars
// @license GPL-3.0
//
// @match https://www.youtube.com/*
// @noframes
#!/bin/sh
# Original: https://teletype.in/@dennon/Avtomaticheskoe-dobavlenie-klientov-v-Adguard
#
# VERSION 3.0
# - Support for WireGuard server peers
# - Configurable WireGuard interface
#
# VERSION 2.0
# - Support for multiple ifaces
# - Get all the hosts, not only static IPs
@cjmaxik
cjmaxik / script.user.js
Last active October 18, 2026 14:20
YouTube Timestamp Helper
// ==UserScript==
// @name YouTube Timestamp Helper
// @namespace https://www.youtube.com
// @license GPL-3.0
// @version 1.1.6
// @icon https://icons.duckduckgo.com/ip2/youtube.com.ico
// @description Updates timestamp in address bar; saves the current timestamp when seeking too far, allows to return. Settings can be changed via script's menu!
// @author CJMAXiK
//
// @match https://www.youtube.com/*
@cjmaxik
cjmaxik / portforwarding.sh
Last active September 19, 2026 11:11
Automatic port forwarding in qBittorrent for Entware-based Keenetic/Netcraze routers
#!/bin/sh
###
# Automatic port forwarding in qBittorrent for Entware-based Keenetic/Netcraze routers
#
# NAT-PMP is the source of truth for the public port.
# Netcraze is used to verify the resulting UPnP/PCP redirect.
#
# Cron:
# */1 * * * * /path/to/script/portforwarding.sh
@cjmaxik
cjmaxik / script.user.js
Last active September 6, 2025 08:38
YouTube Screenshotter
// ==UserScript==
// @name YouTube Screenshotter
// @namespace https://www.youtube.com
// @version 2025-09-06
// @description Takes a screenshot from a YouTube video in current quality, saves to the clipboard (Ctrl+Alt+Shift+Q) or a file (Ctrl+Alt+Shift+W).
// @author CJMAXiK
// @license MIT
// @match https://www.youtube.com/watch*
// @icon https://icons.duckduckgo.com/ip2/youtube.com.ico
// @website https://gist.github.com/cjmaxik/6211f5381c98fbd55267623de4650032
@cjmaxik
cjmaxik / script.user.js
Last active September 6, 2025 08:38
YouTube Auto High Quality
// ==UserScript==
// @name YouTube Auto High Quality
// @namespace https://www.youtube.com
// @license GPL-3.0
// @version 1.0.0
// @description Auto select the highest quality on YouTube (incl. Premium, if applicable)
// @author CJMAXiK
// @license GPL-3.0
// @match https://*.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
@cjmaxik
cjmaxik / webhook.md
Last active October 7, 2026 07:30
Proxmox - Discord notification via Webhook

Proxmox - Discord notifications via Webhook

Note

If you have error 400 when sending the notification, that means that your message is too long, since Discord has a character limit of 2000. If you don't care about the logs, remove {{ escape message }} from the description field. Otherwise, seek another way to send notifications (i.e. via Cloudflare worker that truncates the description field).

image
  1. Add Notification Target
  • Endpoint name: Discord
  • Method: POST
@cjmaxik
cjmaxik / script.user.js
Last active July 6, 2025 14:53
Filmot QoL
// ==UserScript==
// @name Filmot QOL
// @namespace http://tampermonkey.net/
// @version 2025-03-29
// @license MIT
// @homepage https://gist.github.com/cjmaxik/dd9268ec65a727c800b49dc98c7fc23c
// @downloadURL https://gist.github.com/cjmaxik/dd9268ec65a727c800b49dc98c7fc23c/raw/script.user.js
// @updateURL https://gist.github.com/cjmaxik/dd9268ec65a727c800b49dc98c7fc23c/raw/script.user.js
// @description Quality-of-life features for Filmot
// @author CJMAXiK
@cjmaxik
cjmaxik / README.md
Last active December 24, 2025 01:46
Skeb Helper

Skeb Helper

https://cjmaxik.com/skeb-helper

This userscript provides QoL features for Skeb:

  1. Currency conversion
  2. Price alerts (visible self-imposed limits)
  3. Timestamps are based on the locale
  4. Artist's stats on the works pages (prices, response and complete average, complete rate)
  5. NSFW works are blurred out (if NSFW is disabled in Settings, you won't even know the artist does NSFW, this is a good fix)
@cjmaxik
cjmaxik / README.md
Last active October 9, 2026 09:02
Перевод валюты в рубли в Steam

Перевод валюты в рубли в Steam

Поддерживаются тенге, лиры, евро, фунты стерлингов, песо, гривны и доллары. Курс обновляется раз в 6 часов https://cjmaxik.com/steam-valute

Последние изменения

  • 1.4 - добавил поддержку конвертации в расширении SteamDB (минимальная зафиксированная цена)
Details

История версий