Outliner
A professional Chrome extension for web developers to inspect and outline elements with customizable styles and detailed element information.
đź”— Link: Outliner on Chrome Web Store
Features
- Customizable element outlines with color, width, and style options
- Detailed element information display
- Target specific elements using CSS selectors
- Highlight parent elements
- Save your preferences
How to Use
- Install the extension from the Chrome Web Store
- Configure your outline settings:
- Choose outline color
- Set outline width
- Select outline style
- (Optional) Enter target selectors to focus on specific elements
- Click “Enable Outliner” to start inspecting
Target Selector Examples
.footer
- outlines all elements with class “footer”
[data-testid]
- outlines all elements with data-testid attribute
#header
- outlines element with id “header”
div > p
- outlines all paragraph elements that are direct children of divs
Installation
From Chrome Web Store
- Visit the Chrome Web Store
- Search for “Element Inspector Pro”
- Click “Add to Chrome”
- Confirm the installation
Manual Installation (Developer Mode)
- Download or clone this repository
- Open Chrome and go to
chrome://extensions/
- Enable “Developer mode” in the top right
- Click “Load unpacked” and select the extension directory
Usage
- Click the extension icon in your Chrome toolbar
- Configure your outline settings:
- Choose outline color
- Set outline width
- Select outline style
- Enable/disable element info
- Enter a CSS selector to target specific elements
- Click “Enable Outlines” to start inspecting
Development
Project Structure
manifest.json
- Extension configuration
popup.html
- Popup interface
popup.js
- Popup functionality
content.js
- Content script for page interaction
background.js
- Background script
icons/
- Extension icons
Building
No build step required. The extension can be loaded directly in Chrome.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please open an issue in the GitHub repository or contact the developer.