This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Social Media Share Button Remover

Appearance · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryAppearance
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This script scans the page for social media share buttons and widgets—Facebook, Twitter/X, LinkedIn, Pinterest, Reddit, WhatsApp, and email share links—and removes or hides them based on your preferences. A floating badge shows how many buttons were removed, and a toggle button lets you temporarily show or hide them. Clean up cluttered pages, reduce distractions, and improve page load performance by eliminating unnecessary social widgets. Choose between hiding (toggleable) or permanently removing buttons, and enable or disable removal per platform.

WHERE IT RUNS

The script works on any page with social media share buttons—news articles, blog posts, product pages, documentation, and any website with social sharing widgets. It detects buttons using selectors, class names, and URL patterns, and works on any website regardless of framework.

HOW TO USE

After installation, the script automatically removes share buttons based on your settings. A badge appears showing the count of removed buttons. Click the badge to open the panel. Use the floating 👁️ button (bottom-left) to temporarily toggle visibility of hidden buttons. Open the panel to customize: enable or disable removal, choose removal mode (hide or remove), select which platforms to remove (Facebook, Twitter/X, LinkedIn, Pinterest, Reddit, WhatsApp, Email), show/hide the count badge, show/hide the toggle button, choose badge position, and enable per-site settings. Click "Scan & Remove" to re-scan the page after dynamic content changes.

TECHNICAL MECHANISM

The script uses a multi-stage share button detection and removal pipeline. First, it scans the DOM using a comprehensive set of selectors for each platform—targeting common class names (fb-share-button, twitter-share, linkedin-share), attribute selectors (href patterns), and iframe sources. Second, it processes candidate elements and checks for parent containers (.social-share, .share-buttons) to remove entire groups rather than individual buttons. Third, 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. Fourth, it maintains arrays of processed elements for toggle and restore operations. Fifth, it updates the count badge in real time and provides a toggle button that flips visibility for hidden elements. The script uses a MutationObserver to detect dynamically added share buttons 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. Share button detection relies on class names and HTML patterns which may vary across sites and change with updates. 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.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.