r/tampermonkey • • Aug 10 '26

What are your favorite Tampermonkey userscripts? Looking for useful scripts as a beginner

20 Upvotes

Hey everyone!

I’m pretty new to Tampermonkey and I’m currently looking for useful and interesting userscripts to try. There are so many scripts available that it’s a little difficult to know which ones are actually worth installing.

I’d love to hear about your favorite Tampermonkey scripts — especially ones you use regularly or would recommend to someone who is just getting started.

If possible, could you list the name of the script and briefly explain what it does and why you like/use it? It would be really helpful to see not just the popular scripts, but also some lesser-known ones that you personally find useful.

For example:

  • Script name — What it does

  • Why you use it — What problem it solves or what makes it useful

  • Websites it works on — If it’s specific to certain sites

I’m interested in anything useful: productivity, improving websites, adding missing features, customization, YouTube, Reddit, downloading/media, shopping, automation, quality-of-life improvements, etc.

Basically, what are the Tampermonkey scripts you personally wouldn’t want to browse the web without?

Feel free to share as many as you want. I’d really appreciate a list of your favorites with a short explanation of each one!

Thanks!


r/tampermonkey • • Sep 01 '26

The script has stopped working on Songsterr

8 Upvotes

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 • • May 31 '26

"Tampermonkey requires Container Tabs"

8 Upvotes

i wanted to disable container tabs in Floorp (firefox fork) but i get the message "Tampermonkey requires Container Tabs" just above the checkbox for Container Tabs.

i see no setting in Tampermonkey to remove this dependency.

Why does Tampermonkey suddenly require a new feature of Firefox's and why can't i turn it off? =(


r/tampermonkey • • Mar 20 '26

I created a script that solves Chaturbate's age verification without a VPN.

Post image
7 Upvotes

r/tampermonkey • • Dec 27 '25

I have written a Literotica Story Downloader script

7 Upvotes

I feel a lot of the methods posted for this site are quite time intensive and tedious.

I have written a script that inserts 3 different download buttons (HTML, TXT, EPUB) Here's what it looks like https://imgur.com/a/DInQ6YL

All tried and tested!

I'm not sure the legalities of posting it here but if anybody would like it, feel free to message me

Listen, you can criticise the script, you can even hurl abuse at me for no reason.....but just leave those download buttons out of it! I'm very proud of how they turned out aesthetically 😂


r/tampermonkey • • Aug 01 '25

With Youtube refusing service with adblockers enabled, I had chatgpt throw together a small script to work around it.

6 Upvotes

This script skips ads and hides banners.

// ==UserScript==
// @name         YouTube Ad Cleaner
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  Auto skip YouTube ads, mute ads, and remove sidebar/overlay ads
// @author       you
// @match        https://www.youtube.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Remove visual ads (sidebar, banners, promoted)
    const removeSideAds = () => {
        const adSelectors = [
            '#masthead-ad',                   // top banner
            'ytd-display-ad-renderer',        // display ads
            'ytd-in-feed-ad-layout-renderer',
            'ytd-engagement-panel-section-list-renderer',
            'ytd-video-masthead-ad-advertiser-info-renderer',
            'ytd-banner-promo-renderer',      // bottom promo banner
            'ytd-promoted-sparkles-web-renderer', // promoted cards
            'ytd-promoted-video-renderer',    // promoted video in sidebar
            '.ytd-companion-slot-renderer',   // right side ads
            '.ytp-ad-overlay-container',      // video overlay ads
            '.ytp-ad-module',                 // video ad UI
            '#player-ads'                     // player ad container
        ];
        adSelectors.forEach(sel => {
            document.querySelectorAll(sel).forEach(el => el.remove());
        });
    };

    // Skip or fast-forward ads
    const skipAd = () => {
        // Click "Skip Ad" button if available
        let skipBtn = document.querySelector('.ytp-ad-skip-button');
        if (skipBtn) {
            skipBtn.click();
            console.log("✅ Skipped ad");
        }

        // Fast-forward unskippable ads
        let video = document.querySelector('video');
        if (video && document.querySelector('.ad-showing')) {
            video.currentTime = video.duration;
            console.log("⏩ Fast-forwarded ad");
        }
    };

    // Mute during ads
    const muteAds = () => {
        let video = document.querySelector('video');
        if (video) {
            if (document.querySelector('.ad-showing')) {
                video.muted = true;
            } else {
                video.muted = false;
            }
        }
    };

    // Observe DOM changes
    const observer = new MutationObserver(() => {
        skipAd();
        muteAds();
        removeSideAds();
    });
    observer.observe(document.body, { childList: true, subtree: true });

    // Backup interval
    setInterval(() => {
        skipAd();
        muteAds();
        removeSideAds();
    }, 1000);
})();

r/tampermonkey • • 8d ago

Overtake.gg Download Wait Time Script

Thumbnail reddit.com
5 Upvotes

r/tampermonkey • • 12d ago

Does anybody have any scripts they would recommend?

5 Upvotes

I just wanna get some recommendations for what scripts i should use =]


r/tampermonkey • • Jun 25 '26

Hide Facebook Marketplace Ads

5 Upvotes

Been getting frustrated by all the in-line ads on marketplace, but since I have no real in-depth coding knowledge I've botched a script together with chatGPT to remove them. Niche use but might be helpful for other marketplace junkies that are also not too tech-savvy.

It works by finding any element on the page that doesn't link to a /marketplace/item/ listing, goes up to the outermost listing card and hides it. We can't rely on facebook class names so I've focused on link structure. It will more than likely break if facebook changes marketplace. It also may have issues depending on resolutions, but it seems to be working for me so far.

Happy to see other people's thoughts, tweaks or whether ot not it works.

// ==UserScript==
// @name         Tidy Marketplace
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Hide False Marketplace listings
// @match        https://www.facebook.com/*
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    const DEBUG = false;

    const stats = {
        runs: 0,
        linksChecked: 0,
        adsHidden: 0,
        totalMs: 0
    };

    function logStats() {
        if (!DEBUG) return;

        console.table({
            runs: stats.runs,
            linksChecked: stats.linksChecked,
            adsHidden: stats.adsHidden,
            totalMs: stats.totalMs.toFixed(2),
            avgMsPerRun: (stats.totalMs / Math.max(stats.runs, 1)).toFixed(2)
        });
    }

    function isMarketplacePage() {
        return location.pathname.includes("/marketplace");
    }

    function isFacebookInternalUrl(href) {
        if (!href) return true;

        try {
            const url = new URL(href, location.origin);

            return (
                url.hostname === "facebook.com" ||
                url.hostname === "www.facebook.com" ||
                url.hostname.endsWith(".facebook.com")
            );
        } catch {
            return true;
        }
    }

    function isAdLink(link) {
        const href = link.getAttribute("href") || "";

        if (href.includes("/ads/about/")) return true;
        if (href.includes("entry_product=ad_preferences")) return true;

        if (isMarketplacePage()) {
            if (href.includes("/marketplace/item/")) return false;
            if (href.includes("l.facebook.com/l.php")) return true;
            if (href.startsWith("http") && !isFacebookInternalUrl(href)) return true;
        }

        return false;
    }

    function findMarketplaceTile(fromEl) {
        let el = fromEl;

        for (let i = 0; i < 20 && el; i++) {
            const rect = el.getBoundingClientRect();

            const links = el.querySelectorAll
                ? el.querySelectorAll('a[role="link"][href]')
                : [];

            const hasImage = el.querySelector
                ? !!el.querySelector("img")
                : false;

            const hasAdAbout = el.querySelector
                ? !!el.querySelector('a[href*="/ads/about/"], a[href*="entry_product=ad_preferences"]')
                : false;

            const hasExternal = Array.from(links).some(a => {
                const href = a.getAttribute("href") || "";
                if (href.includes("/marketplace/item/")) return false;
                if (href.includes("l.facebook.com/l.php")) return true;
                return href.startsWith("http") && !isFacebookInternalUrl(href);
            });

            const looksTileSized =
                rect.width > 160 &&
                rect.width < 450 &&
                rect.height > 180 &&
                rect.height < 900;

            if (looksTileSized && hasImage && links.length >= 1 && (hasAdAbout || hasExternal)) {
                return el;
            }

            el = el.parentElement;
        }

        return fromEl.closest('a[role="link"]');
    }

    function findFeedPost(fromEl) {
        return fromEl.closest('[role="article"]')
            || fromEl.closest('div[data-pagelet^="FeedUnit_"]')
            || fromEl.closest('a[role="link"]');
    }

    function hideElement(el, reason, href) {
        if (!el || el.dataset.User) return;

        el.dataset.User = "1";
        el.style.setProperty("display", "none", "important");

        stats.adsHidden++;

        if (DEBUG) {
            console.log("Hidden Facebook ad:", reason, href, el);
        }
    }

function processLink(link) {
    if (!link) return;

    const href = link.getAttribute("href") || "";

    // Only skip if we've already checked this exact href.
    // Facebook can mutate hrefs after initial render, so a plain checked flag can miss later changes.
    if (link.dataset.userCheckedHref === href) return;
    link.dataset.userCheckedHref = href;

    stats.linksChecked++;

    if (!href) return;
    if (!isAdLink(link)) return;

    if (isMarketplacePage()) {
        hideElement(findMarketplaceTile(link), "marketplace ad", href);
    } else {
        hideElement(findFeedPost(link), "feed ad", href);
    }
}

    function getLinksFromRoot(root) {
        if (!root || root.nodeType !== Node.ELEMENT_NODE) return [];

        const links = [];

        if (root.matches?.('a[role="link"][href]')) {
            links.push(root);
        }

        root.querySelectorAll?.('a[role="link"][href]').forEach(link => {
            links.push(link);
        });

        return links;
    }

    function processRoot(root) {
        const start = performance.now();

        stats.runs++;

        getLinksFromRoot(root).forEach(processLink);

        stats.totalMs += performance.now() - start;
    }

    function fullSweep() {
        processRoot(document.body);
        logStats();
    }

    // Initial sweep
    fullSweep();

    const observer = new MutationObserver(mutations => {
        for (const mutation of mutations) {
            for (const node of mutation.addedNodes) {
                processRoot(node);
            }
        }
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true
    });

    // Occasional safety sweep for Facebook's lazy weirdness
    setInterval(fullSweep, 5000);

})();

r/tampermonkey • • 22d ago

I got tired of scrolling through long ChatGPT chats, so I brought back the table of contents

Thumbnail
gallery
4 Upvotes

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:

  • It stays unobtrusive while you’re reading.

  • The list opens near your current section, then scrolls independently.

  • It works from the first prompt, including short conversations.

  • It builds the index without automatically scrolling through your chat history.

  • It supports light and dark mode.

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.

Install from Greasy Fork

Source, screenshots, and documentation on GitHub


r/tampermonkey • • Jul 21 '26

How do I go on old reddit without being forced to log in?

4 Upvotes

Can anyone tell me how to configure Tampermonkey or Ublock Origin so I can go on old reddit without being forced to log in? I am currently using Firefox on a computer. I had a similar issue on my iphone nagging me to download the app and I was able to bypass it by using Safari Ublock Origin Lite on complete mode and selecting all seven annoyance filters.


r/tampermonkey • • Jul 09 '26

Prevent Reddit feed to refresh.

4 Upvotes

I hated when in very few minutes, my main feed here, Reddit, refresh, so I made this to prevent that.

Only tested on Safari desktop.

// ==UserScript==

// u/nameReddit Feed No Auto-Refresh

// u/namespacehttp://tampermonkey.net/

// u/version6.0

// u/match*://www.reddit.com/*

// u/run-atdocument-start

// u/grantnone

// ==/UserScript==

(function() {

'use strict';

// Fingir SIEMPRE visible/enfocado -> Reddit no revalida el feed al volver a la pestaña

const visTrue = { get: () => 'visible', configurable: true };

const hidFalse = { get: () => false, configurable: true };

[['visibilityState', visTrue], ['hidden', hidFalse],

['webkitVisibilityState', visTrue], ['webkitHidden', hidFalse]].forEach(([p, d]) => {

try { Object.defineProperty(document, p, d); } catch (e) {}

});

try { document.hasFocus = () => true; } catch (e) {}

// Tragar visibilitychange para que los listeners de Reddit no se enteren

['visibilitychange', 'webkitvisibilitychange'].forEach(type => {

const h = e => e.stopImmediatePropagation();

window.addEventListener(type, h, true);

document.addEventListener(type, h, true);

});

})();


r/tampermonkey • • May 21 '26

Stop Instagram redirecting to Reels.

4 Upvotes

Instagram has recently (for me, at least) started to redirect normal videos to a reels type view when clicked on. Scripts like this one that give media controls (volume, seek bar) no longer work because as soon as I click on any of the controls, Instagram decides that it's best if I were stuck in an endless auto-playing hell.

Is anyone else even experiencing this? Does anyone have a fix for this? Even if it isn't a script, I'm on Firefox if that helps.

2026-06-08 edit - Using these three Greasyfork scripts:
Video Player Control
Allow Right Click on Images
Unfuck Instagram

I have now fixed my issues and made Instagram much nicer.


r/tampermonkey • • May 10 '26

Why does my icon have a red x over one of the eyes/holes?

Post image
4 Upvotes

I've been using tampermonkey for a few years and have never seen this icon. Recently did an os reinstallation on my laptop and added back tampermonkey to my opera browser, only for the icon to look different. Dev mode is activated, user scripts are allowed, so what is this icon supposed to mean?


r/tampermonkey • • Apr 12 '26

BSReader Book Downloader — export Libby web-reader pages to ZIP or PDF

4 Upvotes

Some libraries open books in the browser with MediaDo BSReader (api.distribution.mediadotech.com/viewers/bsreader/v2/...) — e.g. from Libby. I maintain a small Tampermonkey / Violentmonkey script that adds an Export panel so you can pull the current book out as:

  • ZIP — one PNG per page

  • PDF — built in the browser

There’s a status line while it runs; you can dismiss the big panel and bring it back from a small “Export” control.

Demo:

Install:

https://greasyfork.org/en/scripts/573575-bsreader-book-downloader

Source / issues:

https://github.com/andylilfs0217/libby-media-do-downloader

You need the normal “open book” flow so the reader URL still has the expected cgi / param bits. If ZIP/PDF misbehaves, check adblock for mediadotech.com, cdnjs.cloudflare.com, and cdn.jsdelivr.net. Console lines are prefixed with [BSReader DL] if you’re debugging.

Legal: use it in line with your laws and your library/provider’s terms — I’m thinking accessibility and allowed personal use, not redistribution of copyrighted stuff.

MIT-licensed. Feedback and bug reports welcome (GitHub issues is best).


r/tampermonkey • • Mar 23 '26

I got tired of $10/mo YouTube summary extensions, so I built a free, open-source Userscript using the Gemini API. (YouTube-like Native UI, Real-time Synced Dual Subtitles, Multi-Language, Video Chat & Mobile Support)

Thumbnail
gallery
4 Upvotes

Hey everyone,

Like many of you, I consume a lot of long-form tutorials, podcasts, and documentaries on YouTube. I wanted an AI tool to summarize them, but almost everything on the Web Store is either bloated with ads, completely ruins the YouTube UI, or tries to trap you in a $10/month subscription.

So, I decided to build my own Tampermonkey userscript from scratch: Rovetify.

It uses your own Google Gemini API key (which has a very generous free tier for personal use via AI Studio) and integrates seamlessly into YouTube as if it were a native feature.

Here is what it actually does:

🤖 Instant Summaries & Video Chat: Get concise breakdowns of long videos. You can also chat with Gemini while watching—ask specific questions, and it will answer based on the video's transcript context. (UI features the official Gemini thinking animation).

🌐 Bilingual Synced Subtitles: It intercepts the native YouTube CC stream from the bottom up to display dual subtitles. It highlights the current sentence and auto-scrolls. You can even click any sentence to jump straight to that timestamp in the video.

🛠️ Built-in Prompt Manager: I built a native-looking workspace where you can add, edit, delete, and easily switch between multiple custom prompts (e.g., "Study Mode", "Quick Summary Mode").

📱 Obsessive Mobile Optimization: I hated how most scripts break on mobile browsers. I built a draggable bottom-sheet UI for mobile (like Kiwi Browser). I even fixed the annoying bug where the virtual keyboard causes the whole webpage to jump around when typing. It fully supports native Dark/Light mode on all devices.

💾 Export: One-click export the transcript and summary with timestamps to a .txt file.

Since it's a userscript, it's lightweight, secure, and runs entirely in your browser.

Links:

Install via GreasyFork: https://greasyfork.org/en/scripts/570598-rovetify-youtube-summary-with-gemini

Source Code (GitHub): https://github.com/Rove24/Rovetify

This is my first major open-source project and I've poured a lot of coffee and late nights into perfecting the UI/UX details. If it saves you time, **a star on GitHub would mean the world to me! ⭐

Let me know if you run into any bugs or have feature requests. I'll be hanging around in the comments. Cheers! 🍻


r/tampermonkey • • Dec 09 '25

Is scriptcat better than tampermonkey?

4 Upvotes

it says scriptcat support background script execution, while tampermonkey doesnt


r/tampermonkey • • Nov 26 '25

Amazon Rufus Remover

4 Upvotes

Amazon Rufus Remover on Greasy Fork

Amazon Rufus Remover – Say Goodbye to the AI Sidebar!

No more wasted space. No more AI clutter. Just pure, full-width Amazon bliss.

Amazon’s Rufus AI panel loves to squat on the left, stealing ~330 px of your screen and pushing everything else aside. This lightweight Tampermonkey script nukes it from orbit:

- Removes the entire Rufus flyout (`#nav-flyout-rufus`, `.rufus-panel-container`, etc.)

- Collapses all whitespace — your search results instantly stretch edge-to-edge

- Runs on page load + MutationObserver — catches Rufus even when it loads late

- Zero config. One-click install.

Works on:

- `amazon.com`

- `smile.amazon.com`

> Before: Sidebar squishing your results

> After: Clean, centered, full-width glory

Perfect for power shoppers, deal hunters, and anyone who hates AI sidekicks.

Tested on Firefox + Chrome with Tampermonkey/Violentmonkey (2025).


r/tampermonkey • • Sep 13 '25

Script to auto hide AI generated pins on Pinterest

4 Upvotes

Hello everyone

I am looking for a Tampermonkey userscript that automatically hides AI generated content on Pinterest. My goal is to browse Pinterest without seeing any AI generated pins and maybe also filter out AI related keywords.


r/tampermonkey • • 1d ago

I got tired of YouTube always defaulting to the wrong subtitle language, so I built a tool to auto-select captions by priority

Post image
3 Upvotes

r/tampermonkey • • 24d ago

I brought back ChatGPT’s old conversation table of contents as a userscript

3 Upvotes

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:

  • Works from the first prompt, including short conversations.

  • Shows your actual prompt text instead of numbered “Message 1” labels.

  • Follows your current section while you scroll.

  • Opens the list near where you’re reading, then lets you scroll through it independently.

  • Supports light and dark mode.

  • Builds its index without automatically scrolling through the whole conversation.

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:

Greasy Fork

GitHub

First public release: v2.0.0. Free and MIT licensed, primarily intended for desktop Chrome + Tampermonkey.


r/tampermonkey • • Oct 13 '26

I made a script to hide YouTube's new image comments

Thumbnail
gallery
3 Upvotes

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 • • Oct 11 '26

[Userscript] Reddit Gallery to Grid — view all gallery images at once in an ergonomic justified layout (no more swiping carousels)

Post image
3 Upvotes

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:

  • See all images upfront: No more arrow-clicking or swiping. All pictures are visible immediately.

  • Preserves original aspect ratios: Portrait and landscape images adapt naturally side-by-side with zero ugly cropping.

  • Forces all photos to load: Bypasses Reddit’s lazy-loader that often hides slides after the 3rd image.

  • One-click full res: Clicking any thumbnail directly opens the original uncompressed image (i.redd.it) in a new tab.

  • Lightweight: Works with the modern Reddit UI (Shreddit).

🔗 Tampermonkey: https://pastebin.com/J3awrKUG

Hope you find it useful! Feedback and suggestions are always welcome.


r/tampermonkey • • Sep 13 '26

Looking for must have scripts

3 Upvotes

r/tampermonkey • • Aug 19 '26

made a youtube script

3 Upvotes

made one that
1: removes all youtube ads in video
2: removed all in feed ads and replaces them with your normal recomendations
3: bypasses age restrictions
4: lets you download any youtube video in hd
5: removes short recomendations in home page to avoid distractions (the button on the side stays)
message me if u want it