
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).
No UsersNo Users
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.
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
Permissions and dataLearn more
Optional permissions:
- Access your data for all websites
More information
- Add-on Links
- Version
- 1.1.0
- Size
- 17.92 KB
- Last updated
- 8 days ago (Oct 9, 2025)
- Related Categories
- License
- Mozilla Public License 2.0
- Version History
- Add to collection