Instagram Reels RAM Saver

Usuwa z pamięci obejrzane Reelsy, aby odciążyć RAM. Działa tylko na podstronie /reels/.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Fejlesztő
Mor930
Napi telepítések
0
Telepítések száma
42
Értékelések
0 0 0
Verzió
2.0
Létrehozva
2026.01.16.
Frissítve
2026.01.16.
Size
2 KB
Licensz
Ismeretlen
Érvényes

🇬🇧 English

The Problem: Massive RAM Usage

Have you noticed that after scrolling through Instagram Reels for 20-30 minutes, your browser (Brave, Chrome, Edge) starts to lag, and memory usage spikes to 4GB, 5GB, or even more?

This happens because Instagram fails to properly unload videos you've already watched. They stay in the background, clogging up your system memory (RAM) and causing memory leaks.

The Solution

This lightweight script automatically cleans up the mess. It monitors your scrolling and aggressively removes video sources (src) of Reels that have scrolled off-screen. This forces the browser's Garbage Collector to free up the RAM immediately.

Features

  • Fixes Memory Leaks: Keeps RAM usage stable (e.g., ~400MB instead of 4GB+).
  • Reduces Lag: Prevents the browser from stuttering after long sessions.
  • Reels Only: The script only activates when you are in the /reels/ section. It won't affect your main feed or stories.

⚠️ Known Limitation

Because the script removes the video files of watched Reels to save memory, if you scroll back UP, the old videos will not play (you might see a black screen or a loading error). This is intentional. To watch them again, simply refresh the page.


🇵🇱 Polski

Problem: Instagram zjada cały RAM?

Czy zauważyłeś, że po kilkunastu minutach oglądania Instagram Reels twoja przeglądarka (Brave, Chrome, Edge) zaczyna zwalniać, a zużycie pamięci RAM rośnie do ogromnych wartości (nawet 4-5 GB)?

Dzieje się tak, ponieważ Instagram nie usuwa poprawnie z pamięci filmów, które już przewinąłeś. Zostają one w tle, "zapychając" komputer (tzw. memory leak).

Rozwiązanie

Ten lekki skrypt działa w tle i naprawia ten błąd. Monitoruje on przewijanie i agresywnie usuwa źródła plików wideo (src) z Rolek, które zniknęły u góry ekranu. Zmusza to przeglądarkę do natychmiastowego zwolnienia pamięci RAM.

Funkcje

  • Naprawia wyciek pamięci: Utrzymuje zużycie RAMu na niskim, stabilnym poziomie.
  • Koniec zacinania: Przeglądarka działa płynnie nawet po godzinie oglądania.
  • Tylko Reels: Skrypt aktywuje się tylko w sekcji /reels/. Nie psuje zwykłej tablicy ani Stories.

⚠️ Ważna uwaga

Ponieważ skrypt fizycznie usuwa stare filmy z pamięci, jeśli przewiniesz szybko w górę do obejrzanych wcześniej rolek, nie odtworzą się one ponownie (zobaczysz czarny ekran). Jest to celowe działanie dla oszczędności zasobów. Aby obejrzeć je ponownie, wystarczy odświeżyć stronę (F5).