github mikropsoft/StevenBlock V4.0
V4.0 🎉

pre-release6 hours ago

🛡️ StevenBlock v4.0 - The Security Center Update

Welcome to the biggest update in StevenBlock history! 🚀 We've completely reimagined what a root ad-blocker can be. Version 4.0 transforms the module from a simple hosts applier into a fully-fledged, interactive Security Center.

Say hello to total control over your digital environment, directly from your browser!

✨ What's New?

  • 🎨 Brand New WebUI (Security Center)

    • The entire WebUI has been redesigned from the ground up with a stunning, premium Glassmorphism aesthetic.
    • Fluid, native-app-like animations and haptic-style button feedbacks for an incredibly smooth experience.
    • Live Status Badges: The UI now instantly displays which shield (blocklist) is currently active on your system.
  • 🛡️ Domain Rules Manager (Blacklist & Whitelist)

    • Total Control: You can now add specific custom domains to be Blocked (Blacklist) or Allowed (Whitelist)!
    • Visual Rule Tags: Added rules instantly appear as beautiful, color-coded tags (🔴 Red for Blocked, 🟢 Green for Allowed) right inside the WebUI.
    • Easy Removal: Made a mistake? Just tap the × button next to any rule tag to instantly remove it.
  • 🔄 Smart "Update Current List" Feature

    • Added a dedicated button to fetch the latest version of your currently active shield without having to reselect it.
    • The system now intelligently checks if the online list has actually changed. If your local list is already identical to the upstream, it will notify you without unnecessary downloading! ✨
  • 📅 Live Upstream Commit Dates

    • The WebUI now communicates directly with the GitHub API to display the exact date each blocklist was last updated by its maintainers. Always know how fresh your protection is!

🛠️ Under the Hood (Performance & Stability)

  • ⚡ Blazing Fast Boot Times: Completely rewrote the post-fs-data.sh logic. Custom whitelist rules are now processed using a highly optimized awk algorithm in a single pass. This prevents any boot delays, even with hundreds of thousands of blocked domains!
  • 📥 Atomic Downloads (Safe Fallback): Shields are now downloaded to a temporary file first. The system only applies the new hosts file if the download was 100% successful, completely eliminating the risk of a corrupted or empty hosts file crashing your internet connection.
  • 🤖 Universal Downloader: Upgraded the download engine in customize.sh and the Web API. The module now intelligently hunts for curl, wget, or the built-in Magisk/KSU busybox to ensure lists download successfully on any custom ROM or environment (especially APatch).
  • 🔧 Better Shell Compatibility: Replaced legacy echo commands with POSIX-compliant printf for bulletproof cross-device compatibility when writing to system files.
  • 🛑 Safe Service Termination: The WebUI backend service now safely terminates its specific port (9090), preventing conflicts with other local servers or modules on your device.

💖 Support the Project

Love the new features? Consider supporting the continuous development of StevenBlock!
Buy me a Coffee
✈️ Join our Telegram Community

Happy ad-free browsing! 🛡️

Don't miss a new StevenBlock release

NewReleases is sending notifications on new releases.