🛡️ Hide Web Elements Pro
A powerful all-in-one browser userscript for hiding unwanted web elements, controlling navigation, revealing restricted content, extracting links, restoring blocked browser functions, and managing everything from a compact floating control dock.
✨ What It Does
Hide Web Elements Pro combines element hiding, navigation control, content revealing, link extraction, media preview/download, and browser-function restoration into one persistent userscript.
- 🎯 Visual Element Hider — Select elements directly on the page and hide them.
- 🌐 Site / Page Scope — Save hiding rules globally for a site or specifically for the current page.
- 👁️ Quick Reveal — Reveal hidden or obscured elements when needed.
- ❄️ Navigation Freeze — Intercept unwanted redirects, popups, and navigation attempts.
- 🔗 Link Extractor — Extract links from the current page with search and filtering tools.
- 🎬 Media Detection & Preview — Identify supported image, video, and audio links and preview them directly.
- ⬇️ Media Download — Download supported direct media URLs from the preview interface.
- ⏩ 30-Second Time Skipper — Skip forward by 30 seconds where supported.
- 🔓 Auto Anti-Scroll Lock — Automatically restore scrolling when websites attempt to disable it.
- 🖱️ Context Menu Restoration — Restore right-click, text selection, copying, pasting, and drag interactions.
- 👁️ Auto Remove Blur — Automatically remove CSS blur and backdrop blur effects.
- 🛡️ Cloudflare Protection — Detect Cloudflare challenge pages and automatically disable interfering features when protection is enabled.
- 🚫 Domain Blocking — Block unwanted domains and navigation attempts.
- 🟢 Allowed Domains — Create exceptions for trusted domains while Freeze Mode is active.
- 📋 Custom CSS Rules — Create, edit, and remove custom selectors with optional domain targeting.
- 📜 Activity Logs — Keep track of blocked navigation and popup attempts.
- ⚙️ Control Panel — Manage rules, domains, logs, Freeze settings, Reveal settings, and other options from one interface.
- 🎛️ Custom Dock Buttons — Choose which quick-action buttons are visible.
- ↕️ Movable Dock — Drag the floating control dock to a preferred position.
- 📱 Touch-Friendly Controls — Designed to work with mouse and touch interaction.
- 🌑 Shadow DOM UI — The userscript interface is isolated from most website styles and scripts.
- 💾 Persistent Settings — Preferences and rules remain available across page loads.
- 🔄 Cross-Frame Synchronization — Synchronizes important state between frames where possible.
- 📤 Settings Backup — Export and import your saved configuration.
The core interface uses an isolated Shadow DOM and includes quick actions for Hide, Scope, Reveal, Links, Time Skip, Freeze, and the Control Panel.
🎯 Element Hiding
Click Hide and select an element directly from the webpage. A selector stepper lets you move between parent and child elements before confirming the selection.
- Visual element highlighting
- Parent / child selector navigation
- Site-level rules
- Page-level rules
- Persistent saved selectors
- Custom CSS selector rules
Hidden elements are handled using persistent selectors and a stealth-style hiding system rather than simply removing the selected node from the DOM.
❄️ Navigation Freeze
Freeze Mode is designed to stop unwanted navigation caused by redirects, popups, link clicks, window.open(), and programmatic navigation.
Available navigation policies:
- ❓ Ask Every Time
- ⛔ Auto-Block All Navigations
- 🔗 Allow Same Domain Only
- 🟢 Allow All Navigations
Blocked navigation attempts can be recorded in the activity log, while trusted domains can be added to the allowlist.
🔗 Link Extractor
Use Links to collect links from the current page without manually searching through the page source.
- Extract page links
- Search extracted links
- Hide internal links
- Media-only mode
- Copy URLs
- Open links in a new tab
- Preview supported media
The media mode can display detected media links in a grid, while individual links can be previewed, copied, or opened separately.
🎬 Media Preview & Download
Supported direct media URLs can be opened inside the built-in preview interface.
- 🖼️ Image preview
- 🎥 Video preview
- 🎵 Audio preview
- 📋 Copy direct URL
- ⬇️ Download supported direct media
- ↗️ Open the original URL
Direct image, video, and audio URLs can expose a Download action when the detected media type is supported.
🔓 Reveal & Unblock Tools
The Pro version includes several tools intended to restore functionality that websites commonly restrict through CSS, JavaScript, or page behavior.
- 🔓 Automatic scroll restoration
- 🖱️ Right-click / context-menu restoration
- 📋 Copy / paste restoration
- 📝 Text-selection restoration
- 🖱️ Drag restoration
- 👁️ Automatic blur removal
- 🎬 Video exposure and resume handling
Each of these systems can be individually controlled from the Control Panel.
🛡️ Cloudflare-Aware Protection
The script includes dedicated Cloudflare challenge detection. When Cloudflare Protection is enabled, detected challenge pages can temporarily disable interfering Pro features rather than aggressively modifying the challenge page.
Detection uses multiple Cloudflare-specific indicators, including challenge containers, Turnstile elements, challenge scripts, Ray IDs, and related page markers.
This does not bypass Cloudflare verification. It is intended to reduce interference between the userscript and legitimate Cloudflare challenge pages.
⚙️ Control Panel
The Control Panel provides centralized management for the script's persistent configuration.
- Custom Rules
- Allowed Domains
- Blocked Domains
- Blocked Navigation Logs
- Site-specific hidden elements
- Page-specific hidden elements
- Freeze behavior
- Auto Time Skipper
- Auto Anti-Scroll Lock
- Context Menu restoration
- Auto Remove Blur
- Cloudflare Protection
- Dock button visibility
- Settings import / export
Custom rules can be edited or deleted directly from the Control Panel, while blocked and allowed domains can be managed independently.
🎛️ Dock Customization
The floating dock can be moved and customized so only the tools you actually use remain visible.
Available quick buttons include:
Hide · Scope · Reveal · Links · +30s · Freeze.
The Menu button remains available for accessing the Control Panel.
💾 Persistent Configuration
Your configuration is stored persistently, including Freeze preferences, blocked and allowed domains, custom rules, time-skipper settings, scroll restoration, context-menu settings, blur removal, Cloudflare protection, hidden dock buttons, logs, and saved site/page rules.
The script also synchronizes settings between supported frames and storage changes so the interface remains consistent across the page.
🚀 How to Use
- Install the userscript in Tampermonkey, Violentmonkey, or another compatible userscript manager.
- Open any webpage.
- Use the floating dock to access the main tools.
- Use Hide to select unwanted page elements.
- Use Reveal to restore hidden/obscured content when applicable.
- Use Links to inspect extracted links and detected media.
- Use Freeze to control unwanted navigation.
- Open Menu for advanced settings, rules, domains, logs, and backups.
⚠️ Important Notes
- This script operates on webpages and can modify page behavior significantly when advanced features are enabled.
- Some websites may depend on the same browser functions that this script restores or intercepts.
- Disable individual features if a website behaves unexpectedly.
- Auto Remove Blur is intentionally aggressive and may affect legitimate visual effects.
- Cloudflare Protection is recommended when visiting pages containing Cloudflare challenges.
- Media download availability depends on whether the page exposes a directly accessible media URL. It is not a universal DRM or protected-stream downloader.
- Some sites may use techniques that prevent element selection, link extraction, media detection, or navigation interception.
- Do not use the script to violate website terms, copyright restrictions, access controls, or other applicable laws.
🔐 Privacy
Hide Web Elements Pro does not require an external account or centralized service. Settings are stored through the userscript manager's storage system, with localStorage fallback where applicable.
The script requests broad webpage access because its purpose is to operate across websites. It also uses userscript networking/download APIs for supported media and page functionality.
📜 License
Released under the MIT License.
Hide Web Elements Pro · by KTZ