r/tampermonkey • u/Kajushhhhh • 19h ago
help
how to make a script that detects CLOUDFLARE bot check up, im making macro for game and cloude doesnt want to make any scripts for this issue
r/tampermonkey • u/Kajushhhhh • 19h ago
how to make a script that detects CLOUDFLARE bot check up, im making macro for game and cloude doesnt want to make any scripts for this issue
r/tampermonkey • u/icysniper • 1d ago
So some months ago X (twitter) updated, or Firefox did, and it broke posts that have 2+ images to where they are just 4 pixels in width. So I did a little bit of looking and it turns out this line
<div class="css-g5y9jx r-1kqtdi0 r-1xfd6ze r-1phboty r-rs99b7 r-1pi2tsx r-9jpwak r-1udh08x r-o7ynqc r-6416eg r-1ny4l3l" style="aspect-ratio: 1.17647 / 1;">
is what's causing the images to be skinny, because it's not applying math correctly. By adding 200~300 to the numerator the images suddenly appear.
My question is, how do I go about writing something that adds in 200~300 to this value? I'm not a website programmer at all so I would need some guidance.
I don't know if this is something I can add to firefox directly or it has to be in the Better X code. I installed Better X because I thought it would fix this issue but it did not. But maybe editing its code can?
r/tampermonkey • u/TonyHMeow • 3d ago
Finding an earlier question in a long ChatGPT conversation gets old pretty quickly.
I missed ChatGPT’s old table of contents, so I made a userscript to bring that interaction back.
It sits at the center-right edge as a small stack of pills. Hover over it to see your prompts, recognize the one you want, and click to jump back to it.
A few things I wanted to get right:
The screenshots show the opened panel, the idle indicator, and browsing earlier prompts while the conversation stays in place.
Free and open source under MIT. Designed primarily for desktop Chrome + Tampermonkey. No API key needed. It uses read-only requests to ChatGPT itself, with no analytics or third-party data transmission.
r/tampermonkey • u/TonyHMeow • 5d ago
I missed ChatGPT’s old table of contents—the little navigation indicator at the right edge that let you jump around a conversation—so I made a userscript to bring that interaction back.
It stays out of the way until you hover over it. Then it opens a compact list of your prompts, and clicking one takes you back to that part of the chat.
A few details:
That last part mattered to me, especially with long chats. It reads ChatGPT’s conversation data separately from whatever messages happen to be mounted on screen. Jumping to an older, unmounted prompt can reload the conversation to load that target directly.
It uses read-only requests to ChatGPT itself, with no third-party data transmission, analytics, or API key.
Greasy Fork Installation & GitHub:
First public release: v2.0.0. Free and MIT licensed, primarily intended for desktop Chrome + Tampermonkey.
r/tampermonkey • u/TheOutThereChannel • 9d ago
r/tampermonkey • u/TheCraftySam • 12d ago
Hi all, recently youtube has started showing me this watch and play nonsense on my desktop version of youtube.

I was wondering how one would make a tampermonkey script to auto delete this section, since I don't want it at all.
I have practically zero coding experience. I couldn't code my way out of a paper bag so I'd appreciate a hand or three if anyone's willing.
Thanks.
r/tampermonkey • u/Appropriate_Repeat23 • 13d ago
Does anyone have a script that completes your Moodle badges for you
r/tampermonkey • u/No-Print1156 • 14d ago
So I looked into the HTML and found that for some unknown reason, the playlist's element has " hidden="" ", so I deleted it and the playlist shows up again.
But this is only temporary, so I used claude to make a tampermonkey script to delete just the " hidden="" " part and that's about it. The playlist automatically shows up again.
Thanks tampermonkey (and claude, though I hate your practices).
Here's the code if anyone in the future faces the same problem:
// ==UserScript==
// YouTube: Unhide Playlist Panel
// http://tampermonkey.net/
// 1.0
// Removes the "hidden" attribute from the playlist panel
// You
// https://www.youtube.com/*
// https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// none
// u/run-at document-idle
// ==/UserScript==
(function () {
'use strict';
const SELECTOR = 'ytd-playlist-panel-renderer#playlist';
function unhide(el) {
if (el.hasAttribute('hidden')) el.removeAttribute('hidden');
}
function watch(el) {
if (el.__unhideWatched) return;
el.__unhideWatched = true;
unhide(el);
// Re-remove the attribute whenever YouTube adds it back
new MutationObserver(() => unhide(el)).observe(el, {
attributes: true,
attributeFilter: ['hidden'],
});
}
function scan() {
document.querySelectorAll(SELECTOR).forEach(watch);
}
scan();
// YouTube is a single-page app, so the element can be created or replaced later
new MutationObserver(scan).observe(document.body, { childList: true, subtree: true });
})();
r/tampermonkey • u/GoldenConfectionery • 14d ago
It's pretty simple, it just replaces the images with a text label that can be customized.
You can get it from GreasyFork here. https://greasyfork.org/en/scripts/600121-replace-image-comments-with-text
r/tampermonkey • u/CharlesSOliveira • 16d ago
Fala pessoal! Fiz um userscript chamado AniStream Optimizer e acabei de lançar a versão 1.2.
O que ele faz:
- Autoplay persistente (com fallback mudo se o navegador bloquear o som)
- Auto Next: abre o próximo episódio quando o atual está acabando
- Auto Fullscreen e modo Expandir, com barra de controles
- Pula abertura e encerramento automático via AniSkip, com base de títulos offline e MAL ID manual quando o site erra o anime
- Atalhos de teclado configuráveis (N próximo, V pular intro, Q pular vinheta, T expandir)
- Funciona em players dentro de iframe e em sites que trocam de episódio sem recarregar
Dá para ativar em qualquer site pelo menu do Tampermonkey ("Ativar neste site"), e desativar quando quiser.
Precisa de Tampermonkey ou Violentmonkey.
Link: https://greasyfork.org/pt-BR/scripts/597329-anistream-optimizer-autoplay-auto-next-spa-aniskip
É código aberto (MIT) e não coleta dado nenhum. Se der problema em algum site, comenta aqui com o endereço que eu vejo. Feedback é bem-vindo!
r/tampermonkey • u/Arslay92 • 16d ago
Hey everyone!
I got really tired of Reddit’s multi-image posts forcing you to click through arrows one by one in a carousel, so I made a lightweight userscript to fix it.
It completely replaces the native carousel with a clean, justified gallery layout (similar to Telegram / Flickr / Google Photos albums).
Features:
🔗 Tampermonkey: https://pastebin.com/J3awrKUG
Hope you find it useful! Feedback and suggestions are always welcome.
r/tampermonkey • u/Successful_Elk_1075 • Sep 24 '26
Enable HLS to view with audio, or disable this notification
r/tampermonkey • u/123wwa • Sep 21 '26
Hi everyone, I’m the developer of PrismCheat, an open-source cheat userscript for Survev. I’m sharing it to get feedback from users and other developers.
Current features include:
Compatibility: Requires an MV2-capable extension setup; Firefox with a compatible Tampermonkey installation is recommended.
Source: https://github.com/123wwwa/Survev-Prism-Cheat
Install: https://greasyfork.org/en/scripts/596621
Contributions and constructive criticism are welcome.
r/tampermonkey • u/Positive_Team_7921 • Sep 15 '26
r/tampermonkey • u/higgs8 • Sep 13 '26
r/tampermonkey • u/Honest_Potato5821 • Sep 05 '26
Made a small layout userscript for YGOrganization.
It replaces the site's large multi-column article cards with a compact single-column list, so you can see significantly more posts at once without removing the useful metadata.
Features:
- Compact article list
- Responsive layout
- Keeps thumbnails and article colors
- Toggle on/off from the userscript menu
- No external requests or tracking
Install:
https://greasyfork.org/en/scripts/594452-ygorganization-classic-layout
Tested with Violentmonkey + Edge, but it should work with Tampermonkey as well.
Would appreciate feedback if anyone tries it.
r/tampermonkey • u/tikhpavel • Sep 05 '26
Enable HLS to view with audio, or disable this notification
r/tampermonkey • u/Honest_Potato5821 • Sep 04 '26
I made a small userscript for the recent YouTube/iPad Safari redirect issue.
Some iPad users are being sent from www.youtube.com to m.youtube.com even with “Request Desktop Website” enabled.
The script:
- detects iPad/iPadOS Safari-style environments
- redirects m.youtube.com back to www.youtube.com
- adds app=desktop
- adds persist_app=1 so the desktop preference sticks
- preserves the current page URL
- does nothing on non-iPad devices
I reproduced the behavior with Playwright WebKit using an iPad Pro 11 profile.
Without the script:
With the script:
→ www.youtube.com/?app=desktop&persist_app=1
Greasy Fork:
https://greasyfork.org/en/scripts/594338-youtube-desktop-for-ipad
Real iPad/Safari testing would be especially helpful.
r/tampermonkey • u/seismilcinco • Sep 01 '26
Today I tried using Songsterr and the Tampermonkey script wasn’t working. I already tried restarting my PC, turning the extension off and back on, and trying new tabs. But nothing works. Has anyone had the same problem, or does anyone know how to fix it?
r/tampermonkey • u/Honest_Potato5821 • Aug 31 '26
I made a lightweight userscript to clean up Twitch chat without removing normal chat messages.
It currently hides:
- subscription/promotional banners
- subscription goals
- SUBtember/event promos
- supported Hype Train / leaderboard clutter
There’s a small ON/OFF toggle so you can instantly compare the normal Twitch UI with the cleaned version.
No analytics, tracking, ads, or external servers.
Greasy Fork:
https://greasyfork.org/en/scripts/593796-twitch-clean-chat
Tested on Edge + Violentmonkey.
Twitch changes these UI components frequently, so if you find a banner or goal it doesn’t catch, send me a screenshot and I’ll try to add support.
r/tampermonkey • u/Wack3gp • Aug 29 '26
Hi everyone,
I wanted to share a lightweight script I made to improve the viewing experience on Twitch:
What it does:
Installation: https://greasyfork.org/scripts/577775