
Get Element Id by Luis Ocampo
An extension that adds an option to the context menu, allowing the user to click on an element and display its id. If the element does not have an id, the closest id in its ancestor hierarchy is found and displayed instead.
You'll need Firefox to use this extension
Extension Metadata
About this extension
An extension that adds a new option to the browser’s context menu. When the user right-clicks on any element on a web page and selects this option, the extension analyzes the clicked element.
The functionality consists of identifying and displaying the id attribute of the selected element. If the element does not have an id, the extension traverses the DOM (Document Object Model) hierarchy upwards, searching for the first ancestor element that has an id. Once found, it displays the id value using an alert dialog.
This feature is useful for developers and testers who need to quickly identify the id of an element or its closest container, without manually inspecting the DOM using developer tools.
The functionality consists of identifying and displaying the id attribute of the selected element. If the element does not have an id, the extension traverses the DOM (Document Object Model) hierarchy upwards, searching for the first ancestor element that has an id. Once found, it displays the id value using an alert dialog.
This feature is useful for developers and testers who need to quickly identify the id of an element or its closest container, without manually inspecting the DOM using developer tools.
Rate your experience
Permissions and dataLearn more
Required permissions:
- Access your data for all websites
More information
- Add-on Links
- Version
- 1.0
- Size
- 8.56 KB
- Last updated
- 13 days ago (Jul 3, 2025)
- Related Categories
- License
- Mozilla Public License 2.0
- Version History
Add to collection
More extensions by Luis Ocampo
- 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