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

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.

0 (0 reviews)0 (0 reviews)
3 Users3 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

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.
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

Required permissions:

  • Access your data for all websites
More information
Add-on Links
  • Support Email
Version
1.0
Size
8.56 KB
Last updated
2 months ago (Jul 3, 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 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

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.