# Custom Element Counter

> Count any DOM elements on any website using CSS selectors or XPath. Background auto‑refresh, toolbar badge, shadow DOM support.

Canonical page: [https://chrome-stats.com/d/custom-element-counter](https://chrome-stats.com/d/custom-element-counter)

## Overview

- **ID:** `custom-element-counter`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Magoyor
- **Category:** web-development
- **Daily users:** 1
- **Version:** 1.2.0
- **Last updated:** 2026-05-16
- **First published:** 2026-05-13
- **Size:** 16 KB
- **Data as of:** 2026-09-06
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/custom-element-counter/)

## Description

This add‑on lets you count DOM elements on any webpage using a CSS selector or an XPath expression.

Features:
- Count elements with CSS selector or XPath
- Auto‑refresh in the background with adjustable interval
- Toolbar badge shows the count (0–999, then 1k‑99k, then ∞)
- Optional Shadow DOM traversal (needed for modern web components)
- Save up to 5 presets for quick access
- Works on all websites – no data collection, no external requests

⚠️ No maintenance: This add‑on was created for personal use and is published as‑is. I do not provide updates, bug fixes, or support. Use at your own risk.

Source code: <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/c0662180d04d7cf0fcdf7e5cab4675f0e42be799ec4d19f97c3592575f5b4b98/https%3A//github.com/Magoyor/custom-element-counter-addon" rel="nofollow">https://github.com/Magoyor/custom-element-counter-addon</a>

## Rankings

- #101,617 — Overall
- #131 — element
- #223 — counter

## Permissions and access

### Permissions

- `storage`
- `activeTab`
- `<all_urls>`

### Content script matches

- `<all_urls>`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** High risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [HTML/CSS Counter](https://chrome-stats.com/d/html-css-counter)
- [Dom Element Counter](https://chrome-stats.com/d/hdom-element-counter) — 31 users, 5.00 / 5
- [DOM Element Counter](https://chrome-stats.com/d/dom-element-counter)
- [JavaScript Counter](https://chrome-stats.com/d/javascript-counter) — 1 users
- [Block Elements Counter](https://chrome-stats.com/d/block-elements-counter) — 1 users
- [DivCounter](https://chrome-stats.com/d/divcounter) — 1 users
- [HTML Element Counter](https://chrome-stats.com/d/html-element-counter) — 1 users
- [Count me up - Word and character counter](https://chrome-stats.com/d/count-me-up-word-counter) — 695 users, 4.08 / 5
- [Character Counter](https://chrome-stats.com/d/online-character-count) — 9 users, 3.00 / 5
- [Word Counter](https://chrome-stats.com/d/word-counter) — 1,779 users, 4.16 / 5
- [Day Count](https://chrome-stats.com/d/day-count) — 1 users
- [Word & Character Counter](https://chrome-stats.com/d/word-character-counter-qh88) — 1 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/custom-element-counter)
