Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of XPath Highlighter

XPath Highlighter by mrkptt

Type an XPath to highlight all matches on the page and navigate them via a results list. Click an item to scroll & flash the element. Remembers your last query; a Clear button removes highlights. RU/EN interface (auto-detect).

0 (0 reviews)0 (0 reviews)
No UsersNo Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
XPath Highlighter is a tiny, fast tool for testing XPath directly on any webpage.

Features
• Instant highlighting while you type.
• Results list with readable labels (TAG#id.class — "text").
• Click a result to scroll to the element and briefly “flash” it.
• Works with element, attribute, and text-node matches.
• Remembers your last XPath between popup openings (local only).
• One-click Clear button to remove highlights.
• RU/EN interface (auto based on browser language).

How to use
1. Click the toolbar button.
2. Type or paste an XPath (e.g., //a[contains(@href,'login')]).
3. Review matches in the list; click any item to jump to it.

Permissions explained
• activeTab — run only on the tab you click the extension on.
• scripting — inject minimal CSS/JS to draw highlights and list matches.
• storage — save your last XPath and UI language state on your device.

Privacy
• No data collection. No network requests. Everything runs locally in your browser.

Limitations
• Not available on Firefox internal pages (e.g., about:*) or AMO pages due to browser restrictions.
• Cross-origin iframes and Shadow DOM may limit what XPath can access.

Compatibility
• Firefox 109+ (Manifest V3).

If you need a manual language switch or keyboard shortcuts, let us know—planned as future enhancements.
Rated 0 by 0 reviewers
Log 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

Optional permissions:

  • Access your data for all websites
More information
Add-on Links
  • Support Email
Version
1.1.0
Size
17.92 KB
Last updated
8 days ago (Oct 9, 2025)
Related Categories
  • Web Development
License
Mozilla Public License 2.0
Version History
  • See all versions
Add to collection
Report this add-on
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.