ReelsBlock

Stop the endless scroll.

Download: latest APK · Module page: modules.lsposed.org · Package: io.github.sfsakhawat999.reelsblock

ReelsBlock is an Xposed module for rooted Android devices that stops endless vertical scrolling in short videos: YouTube Shorts, YouTube Music Samples, Instagram Reels and Facebook Reels. The video you open plays normally, so a specific Short or Reel opened from search, your feed or a profile still works. Taps, likes, comments and playback keep working — but swiping to the next video does nothing until you leave the player.

YouTube search, the home feed, long videos, comments, likes — all untouched. ReelsBlock only affects the short-video player.


Features

  • YouTube Shorts — Shorts play normally; swiping up for the next Short does nothing until you leave the player. Works with the stock app and with Morphe-patched builds (app.morphe.android.youtube), which keep the same hooks and class names.
  • YouTube Music Samples — the same for the Samples tab, including Morphe-patched builds (app.morphe.android.apps.youtube.music).
  • Instagram Reels — the same for the Reels player.
  • Facebook Reels — the same for the Reels tab and for reels/videos opened from the feed. Facebook renames its internal classes every build, so the module finds the player by its layout instead of a name; see docs/facebook-reels.md.
  • Browsers (Chromium + 1DM + Firefox) — Shorts/Reel URLs are blocked inside Chromium-based browsers (Chrome, Brave, Edge, Vivaldi, Kiwi, Ecosia, Cromite, …), inside the 1DM / 1DM+ built-in browser (Lightning WebView engine) and inside Firefox for Android (GeckoView): the module stops the page and shows a plain blocked page — YouTube Shorts included, no redirect. Details: docs/browser.md.
  • Taps still work — like, comment, pause, and share keep functioning; only swiping to the next video is blocked.
  • One gentle toast per visit — "That's your Short, Sample or Reel for now. Press back to leave."
  • Headless by design — no launcher icon, no settings screen, no toggles. Blocking and the toast are always on. The module appears only in your Xposed manager.
  • Fixed scope — declares com.google.android.youtube, com.google.android.apps.youtube.music, the Morphe-patched app.morphe.android.youtube / app.morphe.android.apps.youtube.music, com.instagram.android, com.facebook.katana, the Chromium browser packages (Chrome stable/beta/dev/canary, Brave, Edge, Vivaldi, Kiwi, Ecosia, Chromium, Cromite, Bromite), idm.internet.download.manager / idm.internet.download.manager.plus and the Firefox channels (org.mozilla.firefox, org.mozilla.firefox_beta, org.mozilla.fenix) as a static scope, so managers list them automatically ("Fixed by the module" in Vector). No manual scope selection.

Requirements

  • Rooted Android device with Magisk (or KernelSU) and an LSPosed-compatible framework that supports the modern libxposed API (API version ≥ 101). Tested with the Vector manager 2.2 (chsbuffer's LSPosed fork).
  • Android 16 (tested on OPPO, build A059P), minSdk 27.
  • Target apps (tested versions):
    • YouTube 21.42.243 and Morphe builds of the same base
    • YouTube Music 9.41.53 and Morphe builds (Samples tab)
    • Instagram 453.0.0.57.79
    • Facebook 538.0.0.53.70, 585.0.0.47.54, 587.0.0.0.29 (Reels tab and feed-opened reels)
    • 1DM+ 20.0 (browser; 1DM uses the same Lightning WebView engine)
    • Firefox 159.0.1 (browser; GeckoView engine)

How it works

ReelsBlock is a modern libxposed module (no legacy de.robv classes are bundled):

File Purpose
app/src/main/resources/META-INF/xposed/module.prop minApiVersion=101, targetApiVersion=101, staticScope=true
app/src/main/resources/META-INF/xposed/scope.list the four app families (stock + Morphe YouTube / YouTube Music), the Chromium browsers, 1DM / 1DM+ and Firefox
app/src/main/resources/META-INF/xposed/java_init.list Entry class io.github.sfsakhawat999.reelsblock.xposed.ReelsBlockHook

Session model

A visit begins when the player's vertical pager is attached to a window and ends when it detaches. While a visit is active, only the tracked pager instance (and its internal RecyclerView) is refused; every other RecyclerView/ViewPager in the app keeps scrolling normally.

Hook anchors

All anchors were verified live on-device. Obfuscated apps are anchored on stable androidx class names + resource ids, never on app-specific obfuscated names:

YouTube Shorts / YouTube Music Samples

  • Pager: com.google.android.libraries.youtube.reel.internal.pager.ReelRecyclerView (id reel_recycler); YouTube Music's Samples tab uses the same class and structure as Shorts, so one hook covers both
  • Morphe-patched builds (app.morphe.android.youtube, app.morphe.android.apps.youtube.music) change only the package name and label; the pager and every hooked class keep the stock names, so the identical hooks are applied to them
  • Gates: onInterceptTouchEvent, onTouchEvent (the primary gate); fling, scrollToPosition, smoothScrollToPosition where the build exposes them (YouTube Music 9.41.53 does not, but the touch gates still stop swipes)
  • Barrier: androidx.swiperefreshlayout.widget.SwipeRefreshLayout (no pull cycle)

Instagram Reels

  • Pager: stock androidx.viewpager2.widget.ViewPager2 with resource id clips_viewer_view_pager (IG renames its own classes every build — the id and androidx names are stable)
  • Gates: onInterceptTouchEvent, onTouchEvent, setCurrentItem, plus the inner RecyclerView (identified by parent === tracked pager)
  • Barrier: instagram.features.clips.viewer.ui.ClipsSwipeRefreshLayout

Facebook Reels (details: docs/facebook-reels.md)

  • Pager: the outermost full-screen RecyclerView under a LithoView whose children are one tiny placeholder plus uniform-height full pages (the pager's page, not a feed list); this shape matched on 538.0.0.53.70, 585.0.0.47.54 and 587.0.0.0.29 (Facebook renames the AndroidX paging methods and shifts ids, so no name/id anchor is relied on)
  • Gates: onLayout, onInterceptTouchEvent, onTouchEvent (swallow after touch slop, taps pass through), scrollBy, scrollTo, onDetachedFromWindow
  • Session ends when the pager detaches; the toast resets when another list is touched

Firefox (details: docs/browser.md)

  • Anchors: the public GeckoView SDK, not Fenix internals — GeckoSession.setNavigationDelegate(NavigationDelegate) and setProgressDelegate(ProgressDelegate). The installed listener is wrapped in a java.lang.reflect.Proxy that forwards every callback to Fenix.
  • Gates: onLoadRequest (main-frame load/redirect → GeckoResult.deny() before the reel commits), onLocationChange (History-API SPA URL changes), onPageStart (backstop)
  • Blocked page: a self-contained data: document loaded via GeckoSession.Loader with REPLACE_HISTORY (Back skips the reel) and BYPASS_LOAD_URI_DELEGATE (Fenix policy cannot refuse it)

Blocked calls simply do not proceed() in the interceptor chain — the pager's own drag/paging pipeline never runs, while touch events still reach child views.

Building

Requirements: JDK 17+, Android SDK 36, network access for the compile-only libxposed API artifact.

./gradlew assembleDebug
# APK: app/build/outputs/apk/debug/app-debug.apk

Important: the libxposed API dependency is compileOnly. The framework refuses modules that ship de.robv/Xposed API classes inside the APK. Do not change it to implementation.

Installation

  1. Download the latest APK from Releases (or build it yourself — see Building) and install it on the rooted device.
  2. Open your Xposed manager → Modules → enable ReelsBlock.
  3. Scope is fixed by the module itself — YouTube, YouTube Music, Instagram, Facebook, the Chromium browsers, 1DM / 1DM+ and Firefox are added automatically.
  4. Force-stop YouTube, YouTube Music, Instagram, Facebook and the browser (or reboot) so the hook is injected into a fresh process.

Browser support

Built in — no extra module. The fixed scope includes:

  • Chromium-based browsers: Chrome (stable/beta/dev/canary), Brave, Edge, Vivaldi, Kiwi, Ecosia, Chromium, Cromite and Bromite.
  • 1DM and 1DM+: the download manager's built-in browser, which uses the Lightning WebView engine.
  • Firefox for Android: release, Beta and Nightly (org.mozilla.firefox, org.mozilla.firefox_beta, org.mozilla.fenix), which render with GeckoView.

Enable ReelsBlock for your browser in your Xposed manager (already listed) and force-stop it. In the browser, Shorts/Reel URLs — youtube.com/shorts/… (incl. /shorts/feed), instagram.com/reels…, instagram.com/reel/<id>, facebook.com/reel… — are replaced with a plain "Shorts / Reels are blocked here" page with a Back button. No redirect for YouTube: a Short in the browser is treated exactly like a reel. Works for fresh visits and for SPA openers from a site's homepage.

The Chromium path hooks the tab URL callback (mechanism adapted from ChromeXt, JingMatrix, GPL-3.0) and is verified on Chrome, Chrome Canary, Brave, Edge, Vivaldi, Kiwi, Ecosia, Cromite, ChromiumBrowser and Bromite. The 1DM path hooks Lightning's WebViewClient and paints the blocked page into the current document; verified on 1DM+ 20.0. The Firefox path hooks the public GeckoSession delegate setters, denies the reel load before it commits and loads the blocked page in its place; verified on Firefox 159.0.1, including a YouTube home → Shorts SPA navigation. Heavy Chromium forks (Opera, Samsung Internet, Yandex, Aloha) rename the engine classes the hook needs and are not supported. Full details and limitations: docs/browser.md.

Troubleshooting

  • Watch live logs:
    adb logcat -s ReelsBlock
  • Framework logs (Vector/LSPosed):
    su -c "ls /data/adb/lspd/log/"
  • If a target app update breaks blocking, the module logs (version drift) for the anchor it could not resolve. Please open an issue with your app version and the log lines.
  • Browser not blocked after a module update? Open the module's scope page in Vector and apply Use what the module asks for — a browser added in a newer version can show up unticked even though the list says "Fixed by the module".

Limitations

  • Anchors are pinned to the tested app versions above; future updates may rename classes or resource ids. The module degrades gracefully (logs the drift, keeps running).
  • Facebook: verified on 538.0.0.53.70, 585.0.0.47.54 and 587.0.0.0.29 on phones; both the Reels tab and feed-opened reels are blocked. Support is device-dependent: on tablets, foldables, landscape or other layouts where Facebook does not use this kind of player, blocking may not apply. A future Facebook layout change may also need a re-probe.
  • YouTube Music Samples: verified on 9.41.53. The Samples tab uses the same player component as YouTube Shorts; if YouTube Music switches to a different player, a re-probe is needed.
  • Morphe-patched YouTube / YouTube Music: supported because the patch keeps the stock hooks and class names. Patched builds track their own base version, so an anchor that breaks on a stock update breaks on the patched build too.
  • Browsers (Chromium + 1DM + Firefox): a hard URL block, not the in-app swipe block — a web page has no in-app player to block. Only reel URLs are caught; reels opened as SPA modals while the URL stays on the feed are not. Browser updates may break the anchors until the module is updated; forks that strip or rename the engine classes log (version drift) and simply leave URLs alone. The 1DM overlay relies on JavaScript being enabled in its browser. In Firefox the blocked page is a data: URL, so the address bar shows that URL while it is open; the Firefox/GeckoView support is verified on the release channel (159.0.1), and Beta/Nightly use the same code path. See docs/browser.md.
  • Only swiping inside the short-video player is blocked — by design. Scrolling everywhere else stays untouched.
  • This is a personal, educational project. Using Xposed modules may violate the terms of service of the target apps; use at your own risk.

License

GNU General Public License v3.0 — see LICENSE.

Contributing

Issues and pull requests are welcome — see CONTRIBUTING.md.

Releases

1.2.0

Stable

11/8/2026, 8:16:22 PM

Stop the endless scroll.

ReelsBlock is an Xposed module for rooted Android that stops endless vertical scrolling in short videos — YouTube Shorts, YouTube Music Samples, Instagram Reels and Facebook Reels. The video you open plays normally, and taps, likes and comments keep working, but swiping to the next video does nothing until you leave the player.

It also hard-blocks Shorts/Reels URLs in supported browsers with a plain "blocked" page. No launcher icon, no settings, no toggles — the module only appears in your Xposed manager.

What's new in 1.2.0

  • Morphe-patched YouTube support — app.morphe.android.youtube is now a supported target. The patched build keeps the stock reel pager class names, so the same Shorts hooks apply.
  • Morphe-patched YouTube Music support — app.morphe.android.apps.youtube.music is supported the same way, including the Samples tab.
  • Both Morphe packages are part of the module's fixed scope.
  • Added a changelog (CHANGELOG.md) and removed the redundant SUMMARY file.

Supported apps: YouTube and YouTube Music (stock and Morphe-patched), Instagram, Facebook, Chromium-based browsers (Chrome, Brave, Edge, Vivaldi, Kiwi, Ecosia, Chromium, Cromite, Bromite), 1DM / 1DM+, and Firefox for Android.

Requirements: Root with Magisk/KernelSU and an LSPosed-compatible framework using the modern libxposed API (≥ 101; tested with Vector 2.2). Android 8.0+ (Android 16 tested).

Full changelog: https://assets.lsposed.org/raw/sfsakhawat999/ReelsBlock/main/CHANGELOG.md?sign=e422c255b5cb6fcb89f87de902e33f3b&t=6a03bf00

Assets

1

1.1.0

Stable

11/8/2026, 5:19:10 PM

Stop the endless scroll.

ReelsBlock is an Xposed module for rooted Android that stops endless vertical scrolling in short videos — YouTube Shorts, YouTube Music Samples, Instagram Reels and Facebook Reels. The video you open plays normally, and taps, likes and comments keep working, but swiping to the next video does nothing until you leave the player.

It also hard-blocks Shorts/Reels URLs in supported browsers with a plain "blocked" page. No launcher icon, no settings, no toggles — the module only appears in your Xposed manager.

Supported apps: YouTube, YouTube Music, Instagram, Facebook, Chromium-based browsers (Chrome, Brave, Edge, Vivaldi, Kiwi, Ecosia, Chromium, Cromite, Bromite), 1DM / 1DM+, and Firefox for Android.

Requirements: Root with Magisk/KernelSU and an LSPosed-compatible framework using the modern libxposed API (≥ 101; tested with Vector 2.2). Android 8.0+ (Android 16 tested).

Assets

1

1.0.0

Stable

11/4/2026, 2:13:47 PM

Stop the endless scroll.

ReelsBlock is an Xposed module for rooted Android devices that stops endless vertical scrolling in short videos: YouTube Shorts, YouTube Music Samples, Instagram Reels and Facebook Reels. The video you open plays normally, so a specific Short or Reel opened from search, your feed or a profile still works. Taps, likes, comments and playback keep working — but swiping to the next video does nothing until you leave the player.

YouTube search, the home feed, long videos, comments and likes are all untouched — ReelsBlock only affects the short-video player. There is no launcher icon, no settings screen and no toggle: blocking is always on, and the module only appears in your Xposed manager.

It also hard-blocks reel URLs inside Chromium-based browsers: youtube.com/shorts/… (including /shorts/feed), instagram.com/reels…, instagram.com/reel/<id> and facebook.com/reel… are replaced with a plain "Shorts / Reels are blocked here" page with a Back button. YouTube Shorts get no redirect — a browser Short is treated exactly like a reel. The page follows the browser's light/dark theme.

Covered apps

App Tested with
YouTube Shorts 21.42.243
YouTube Music Samples 9.41.53
Instagram Reels 453.0.0.57.79
Facebook Reels 538, 585 and 587
Chromium browsers see below

Browsers verified on Android 16 (arm64): Chrome 156, Chrome Canary, Brave, Edge, Vivaldi, Kiwi, Ecosia, Cromite 153, ChromiumBrowser 151 and Bromite 108. Chrome Beta/Dev are in the scope but were not tested here.

Opera, Samsung Internet, Yandex and Aloha are not supported — those forks rename or hide the engine classes the browser hook needs, so the module leaves their URLs alone.

Requirements

  • Rooted Android 12+ device with Magisk (or KernelSU) and an LSPosed-compatible manager that supports the modern libxposed API (≥ 101). Tested with Vector 2.2.
  • The module declares a fixed scope for all supported apps, so you don't tick targets by hand.

Install

  1. Install the APK.
  2. Enable ReelsBlock in your Xposed manager — it appears only there, not in the app drawer.
  3. Force-stop YouTube, YouTube Music, Instagram, Facebook and your browser (or reboot).
  4. If a browser is listed as "Fixed by the module" but not ticked, open the module's scope page and apply Use what the module asks for.

Limitations

  • The block is a hard URL block in the browser, not the in-app swipe block: a web page has no in-app player to block. Reels opened as SPA modals while the URL stays on the feed are not caught.
  • App updates can rename hooks; the module then logs version drift in adb logcat -s ReelsBlock and degrades gracefully instead of crashing.
  • Facebook support is device-dependent: it works on phones with this kind of Reels player, but may not apply on tablets, foldables or landscape layouts.
  • This is a personal, educational project. Using Xposed modules may violate the terms of service of the target apps; use at your own risk.

License

GPL-3.0. Browser hooks are adapted from ChromeXt (JingMatrix, GPL-3.0).

Assets

1