Firefox Browser Add-ons
Log in
Preview of XPath Element Remover b8q

XPath Element Remover b8q by Dejsp

A simple tool to permanently hide unwanted page elements using XPath expressions. Clean up websites your way.

0 (0 reviews)0 (0 reviews)
2 Users2 Users
You’ll need Firefox to use this extension
Download Firefox
Download file

Extension Metadata

About this extension
Take control of your web browsing experience with XPath Element Remover. This powerful and precise tool allows you to permanently remove any unwanted content from websites, such as ads, pop-ups, social media blocks, or any other distracting elements.

Unlike simple ad-blockers that rely on predefined lists, this extension puts the power in your hands. By using XPath expressions, you can create highly specific and robust rules to target exactly what you want to remove, ensuring that the surrounding content remains untouched.

Key Features:
  • Precision Targeting with XPath: Use the power of XPath to create flexible and accurate rules for element selection. Whether it’s a simple //div[@id='annoying-popup'] or a complex expression, you have full control.
  • [cite_start]Per-Domain Rules: Your rules are intelligently saved for each specific domain[cite: 8, 34]. A rule created for example.com will not affect any other website.
  • [cite_start]Automatic Application: Once a rule is saved, it is automatically applied every time you visit or reload the page[cite: 10].
  • [cite_start]Dynamic Content Support: The extension uses a MutationObserver to monitor the page for changes[cite: 11]. This means that even elements loaded dynamically via JavaScript (like infinite scroll content or delayed ads) will be found and removed according to your rules.
  • Simple Management Interface:
    • [cite_start]Easily add one or more XPath rules at once from the extension popup[cite: 28].
    • [cite_start]View a clean list of all active rules for the current website[cite: 28].
    • [cite_start]Delete unnecessary rules with a single click[cite: 37].
  • [cite_start]Instant Effect: New rules are applied instantly without needing to reload the page[cite: 40, 41].

How It Works:
  1. Navigate to the website you want to clean up.
  2. Click the XPath Remover icon in your toolbar.
  3. [cite_start]The popup will show the current domain[cite: 29, 30].
  4. [cite_start]Enter one or more XPath expressions into the text area[cite: 28].
  5. Click "Add". [cite_start]The targeted elements will disappear immediately[cite: 40, 41].

Whether you're a developer looking for a precise debugging tool or a user who wants a cleaner, more focused web, XPath Element Remover provides the ultimate solution for customizing websites to your liking.
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Access your data for all websites
More information
Version
1.0
Size
15.58 KB
Last updated
2 months ago (Jun 15, 2025)
Related Categories
  • Web Development
License
Mozilla Public License 2.0
Version History
  • See all versions
Add to collection
Report this add-on
More extensions by Dejsp
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.