Skip to content

About

Lightweight cross-browser performance extension for Chrome, Titanium Android, and Firefox. Offloads scroll listeners to GPU compositor, skips offscreen canvas draws, and cuts battery drain.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

SmoothBoost

SmoothBoost is a universal cross-browser performance extension and userscript for smoother scrolling, reduced background work, and instant frame pacing. It detects page archetypes before applying optimizations, while preserving live calls, interactive apps, and user-controlled animation preferences.

Install with Tampermonkey Download Chrome ZIP Download Edge ZIP Download Firefox ZIP Download Safari ZIP Release

Supported across Tampermonkey & Violentmonkey Userscript, Google Chrome & Helium, Microsoft Edge, Mozilla Firefox (Desktop & Android Unified), Apple Safari (macOS & iOS), and Titanium Browser on Android.


Browser & Platform Compatibility Matrix

Platform / Environment Engine / Distribution Minimum Version Scroll Boost & Smart Loading Dynamic FPS (30/60/90/120) Tab Discard Settings UI
Userscript (Tampermonkey / Violentmonkey) Userscript Manager Tampermonkey 4.14+ / Violentmonkey 2.13+ ✓ ✓ — (extension only) Shadow DOM HUD & GM Menu
Chrome / Chromium / Brave Chromium MV3 Chrome 116+ ✓ ✓ ✓ Extension Popup (Alt+Shift+S)
Microsoft Edge Chromium MV3 Edge 116+ ✓ ✓ ✓ Extension Popup (Alt+Shift+S)
Mozilla Firefox (Desktop & Android) Gecko MV3 Event Pages Firefox 140+ (Android 142+) ✓ ✓ ✓ (desktop only) Extension Popup & Touch UI
Apple Safari (macOS & iOS) WebKit MV3 / Userscript Safari 16+ / iOS 15+ ✓ ✓ Guarded (WebKit) Extension Popup / Shadow HUD
Titanium Browser (Android) Chromium MV3 (Vanadium) Current ✓ ✓ Guarded (OS LMK) Touch UI (>=44px targets)

Note

On mobile operating systems (Android and iOS), the OS Low Memory Killer (LMK) manages application memory natively. SmoothBoost automatically detects mobile environments and WebKit engines, safely guarding unsupported APIs (tabs.discard, desktop keyboard shortcuts) to prevent crashes and ensure rock-solid stability.


What's New in v2.4.0 — Universal Performance Update

1. Tampermonkey & Violentmonkey Support (Headline Feature)

  • Standalone SmoothBoost.user.js Edition: Install directly via Tampermonkey, Violentmonkey, or Greasemonkey without developer mode or unpacked extension directories.
  • Automatic Updates: Preconfigured @updateURL and @downloadURL metadata pointing to the GitHub release channel.
  • Persistent Storage: Utilizes GM_setValue and GM_getValue to persist global profiles and per-site rules across sessions.
  • Shadow DOM Settings HUD: An isolated, collision-free on-page settings modal and floating status pill styled with glassmorphism.

2. New Boost Features

  • Scroll Boost: Temporarily reduces expensive rendering effects, suppresses non-essential canvas drawing, and elevates scroll smoothness during active scrolling, restoring full fidelity within 160ms of idle.
  • Smart Resource Loading: Defers offscreen iframes, heavy media embeds (YouTube, Vimeo, Twitter, Instagram, Spotify, SoundCloud, TikTok), and third-party widgets using IntersectionObserver with 400px pre-hydration margins.
  • Memory Guard: Continuously inspects JS heap allocation (performance.memory) and DOM node count (>3,500 elements). Automatically unloads paused background video preloads (preload = 'none') and trims canvas caches.
  • Dynamic FPS Profiles: Target framerates configurable to 30 FPS, 60 FPS, 90 FPS, or 120 FPS with microsecond-accurate timestamp pacing and requestAnimationFrame cancellation support.
  • SPA Navigation Optimization: Hooks history.pushState, history.replaceState, popstate, and hashchange to detect client-side route changes on Single-Page Applications (Next.js, React, Vue, Angular) and re-classify page archetypes without page reloads.

3. Universal Site Engine

  • Expanded Archetype Classifier: Classifies pages across 8 archetypes (realtime-app, video-streaming, canvas-gaming, heavy-spa, interactive-canvas, e-commerce, reading-article, standard).
  • Community Site-Rules Schema v2: Externalized, versioned JSON rule sets with support for custom host overrides, target selectors, and behavior policies.
  • Automatic Safe Mode Recovery: Active watchdog detects consecutive script or DOM exceptions (≥4 errors in 3 seconds) and automatically demotes into Safe Mode to protect site functionality.

Profiles

  • Smart Auto (Default): Automatically inspects page archetypes and applies balanced performance heuristics while protecting live communication, WebGL gaming, and creative tools.
  • Turbo (Maximum): Full acceleration profile. Enforces compositor scrolling, pauses offscreen ambient media, suspends offscreen canvas rendering, decodes images asynchronously, and bypasses heavy backdrop blur filters.
  • Balanced: Subtle optimizations that preserve page visuals and media behavior without heavy intervention.
  • Battery Saver: Aggressively minimizes background execution on laptops and mobile devices with amber BATT badge indicator.
  • Custom: Granular drawer with independent controls for Scroll Boost, Smart Resource Loading, Memory Guard, Dynamic FPS limiter (30/60/90/120 FPS), and canvas guards.

Installation Guides

For detailed, platform-specific walkthroughs with screenshots and troubleshooting steps, read the Device Setup Tutorial.

1. Tampermonkey & Violentmonkey Userscript (Recommended)

Install with Tampermonkey

  1. Install Tampermonkey or Violentmonkey in your browser.
  2. Click the Install with Tampermonkey button above to trigger 1-click installation.
  3. Confirm installation in your userscript manager prompt.
  4. SmoothBoost is instantly active on every website! Access settings via your userscript extension menu or the on-page ⚡ SB status pill.

2. Chrome & Brave Desktop Extension

  1. Download SmoothBoost-Chrome-2.4.0.zip and unzip it.
  2. Navigate to chrome://extensions and toggle Developer mode in the top right.
  3. Click Load unpacked and select the extracted folder.
  4. Pin SmoothBoost to the toolbar for quick access.

3. Microsoft Edge (Store Ready & Unpacked)

  1. Download SmoothBoost-Edge-2.4.0.zip and unzip it.
  2. Navigate to edge://extensions and enable Developer mode in the left sidebar.
  3. Click Load unpacked and select the extracted folder.
  4. Store distribution: Upload SmoothBoost-Edge-2.4.0.zip directly to Microsoft Partner Center.

4. Mozilla Firefox Desktop & Android (AMO Store Ready)

  1. Download the unified SmoothBoost-Firefox-2.4.0.zip package.
  2. Desktop Debugging: Open about:debugging#/runtime/this-firefox, click Load Temporary Add-on…, and choose the ZIP file.
  3. AMO Submission: Ready for direct upload to addons.mozilla.org with zero data collection declared and 0 linter errors.
  4. Firefox Android: Fully compatible with Gecko Android (v142+) via custom add-on collection or web-ext.

5. Apple Safari (macOS & iOS)

  1. Userscripts App (Recommended): Install the free Userscripts extension on macOS or iOS, then 1-click install SmoothBoost.user.js.
  2. Native WebKit MV3: Download SmoothBoost-Safari-2.4.0.zip for Orion Browser or convert to an Xcode app wrapper with xcrun safari-web-extension-converter.

6. Titanium Browser on Android (Google Play)

  1. Download SmoothBoost-Titanium-Android-2.4.0.zip on your Android device.
  2. In Titanium Browser, open menu → Extensions (or navigate to chrome://extensions).
  3. Enable Developer Mode and install via Load unpacked or + (from .zip).

Building Release Packages

SmoothBoost includes a multi-target build script that packages extension ZIPs and compiles the distribution userscript into dist/:

# Build all release packages & userscript
python3 scripts/package_extension.py --target all

# Or build a specific target:
python3 scripts/package_extension.py --target userscript
python3 scripts/package_extension.py --target chrome
python3 scripts/package_extension.py --target edge
python3 scripts/package_extension.py --target firefox
python3 scripts/package_extension.py --target safari
python3 scripts/package_extension.py --target titanium-android

Generated packages:

  • dist/SmoothBoost.user.js (Tampermonkey / Violentmonkey / Userscripts edition)
  • dist/SmoothBoost-Chrome-2.4.0.zip (and backwards-compatible SmoothBoost-2.4.0.zip)
  • dist/SmoothBoost-Edge-2.4.0.zip (Microsoft Edge Add-ons ready)
  • dist/SmoothBoost-Firefox-2.4.0.zip (Unified AMO ready for Desktop & Android)
  • dist/SmoothBoost-Safari-2.4.0.zip (WebKit MV3 extension)
  • dist/SmoothBoost-Titanium-Android-2.4.0.zip (Optimized for Chromium mobile)

Automated Test Suite

SmoothBoost has 75 automated regression and feature test suites covering cross-browser adapters, Scroll Boost, Smart Resource Loading, Dynamic FPS Profiles, Automatic Recovery, userscript integrity, settings persistence, and packaging:

node --test tests/*.test.js

Project Structure

├── manifest.json                  # Chromium MV3 manifest (Chrome, Titanium Android)
├── manifest.firefox.json          # Gecko MV3 manifest (Firefox Desktop & Android)
├── manifest.safari.json           # WebKit MV3 manifest (Safari macOS & iOS)
├── popup/
│   ├── popup.html                 # Responsive dark glass UI (320px–420px fluid)
│   ├── popup.css                  # Responsive styles & coarse pointer touch targets
│   ├── popup.js                   # Popup controller with settings import/export
│   └── update-check.js            # GitHub release update checker
├── scripts/
│   ├── compat.js                  # Cross-browser runtime adapter & capability guard
│   ├── background.js              # MV3 service worker / event page controller
│   ├── content.js                 # Isolated content script with archetype classifier
│   ├── page-hook.js               # Main-world passive listener, canvas guard & FPS limiter
│   ├── SmoothBoost.user.js        # Standalone Tampermonkey / Violentmonkey edition
│   └── package_extension.py       # Multi-target release packager
├── data/
│   └── site-rules.json            # Dynamic site optimization rules (Schema v2)
├── dist/                          # Packaged ZIP archives & SmoothBoost.user.js
├── icons/                         # 16px, 48px, 128px high-DPI icons
├── tests/                         # 75 automated node:test suites
└── test-fixtures/                 # Real DOM & canvas smoke test pages

About

Lightweight cross-browser performance extension for Chrome, Titanium Android, and Firefox. Offloads scroll listeners to GPU compositor, skips offscreen canvas draws, and cuts battery drain.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages