Comment Section Ad Hider
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This script scans comment sections on any page and removes or hides advertisement elements—sponsored comments, promoted posts, ad banners, affiliate links, and other promotional content. It uses keyword and pattern detection to identify ads, with configurable filters for different ad types. A counter badge shows how many ads were removed, and a toggle button lets you temporarily show or hide removed items. Clean up cluttered comment sections, reduce distractions, and focus on genuine user discussions without promotional noise.
WHERE IT RUNS
The script works on any page with comment sections—news articles, blog posts, social media platforms, forums, and any website with user comments. It detects comment sections using common selectors and class names, and works on any website regardless of framework. The script also handles dynamically loaded comments.
HOW TO USE
After installation, the script automatically scans comment sections and removes ads. A badge appears showing the count of removed ads. Click the badge to open the panel. Use the floating 👁️ button (bottom-left) to toggle visibility of hidden ads. Open the panel to customize: enable or disable removal, choose removal mode (hide or remove), select which ad types to remove (sponsored, promoted, affiliate, banners), add custom keywords, show/hide the count badge, show/hide the toggle button, choose badge position, and enable per-site settings. Click "Scan & Remove" to re-scan after dynamic content changes.
TECHNICAL MECHANISM
The script uses a multi-stage ad detection and removal pipeline. First, it identifies comment sections using a comprehensive set of selectors (.comments, #comments, .comment-section) with fallback to text-based detection. Second, it scans each section for ad elements using three detection methods: class/ID patterns (.ad, .sponsored, .promoted, .affiliate), banner patterns (.banner, .promo, .offer), and keyword detection in text content (matching against a built-in keyword list plus custom keywords). Third, it processes each detected element by walking up the DOM to find the nearest comment container (article, li, div) to remove entire ad entries rather than just the ad label. Fourth, it applies the selected removal mode: 'hide' sets `display: none` and stores the original display value for restoration, while 'remove' deletes the element and creates a hidden placeholder. Fifth, it updates the count badge and provides toggle/restore operations. The script uses a MutationObserver to detect dynamically loaded comments and re-applies removal.
THE PANEL
The settings panel is fully draggable and can be positioned anywhere on your screen. It automatically snaps to the nearest edge when released, keeping your workspace organized. The panel can be collapsed to a small bubble showing only a gear icon, and restored with a single click. Its position is remembered across page reloads using GM_setValue. The panel also responds to the Escape key, which instantly hides it until you click the bubble again. All settings are saved immediately when changed and persist across browser sessions.
PLEASE NOTE
This script requires the free BotGentz extension to run. Ad detection relies on keywords and class names which may vary across sites and change over time. The script does not access, store, or transmit any personal data or browsing history. All processing happens locally in your browser and never leaves your device.