Epic Highlighter is a Chrome extension designed to highlight elements with the same data-epic
attribute on any webpage. It allows you to cycle through different groups of elements and visually emphasizes the currently selected group with a glowing blue border.
- Highlight elements with a specific
data-epic
attribute. - Cycle through different groups of elements using keyboard shortcuts.
- Automatically cycle through groups with auto mode.
- Customizable highlight effect that matches the element's border radius.
-
Download the repository:
- Clone this repository using
git clone https://github.com/Raccoon254/highlight-chrome-extension.git
- Or download the ZIP file and extract it to a directory on your computer.
-
Open Chrome Extensions page:
- Open Chrome and navigate to
chrome://extensions/
.
- Open Chrome and navigate to
-
Enable Developer Mode:
- Toggle the switch for "Developer mode" in the top right corner of the Extensions page.
-
Load Unpacked Extension:
- Click on the "Load unpacked" button and select the directory where you extracted the extension files.
-
Extension Installed:
- You should now see the Epic Highlighter icon in your Chrome extensions toolbar.
-
Navigate to a Webpage:
- Open any webpage where you want to use the Epic Highlighter.
-
Highlight Elements:
- The extension automatically detects elements with the
data-epic
attribute and groups them.
- The extension automatically detects elements with the
-
Keyboard Shortcuts:
- Press
N
to move to the next group of elements. - Press
P
to move to the previous group of elements.
- Press
-
Auto Mode:
- Toggle auto mode by clicking the extension icon and selecting the auto mode option. This will automatically cycle through groups every 3 seconds.
manifest.json
: The extension manifest file.content.js
: Script that handles highlighting logic and interactions.styles.css
: CSS for the highlight effect.background.js
: Background script for managing extension state and messages.popup.html
: HTML for the extension popup.images/highlight.png
: Icon for the extension.
The extension works by identifying elements with a data-epic
attribute, grouping them by their data-epic
value, and then applying a highlight effect to the currently selected group. Users can navigate through these groups using keyboard shortcuts or by enabling auto mode.
- Highlight Elements: Adds a glowing blue border around elements with the
data-epic
attribute. - Navigate Groups: Allows users to cycle through different groups of highlighted elements.
- Auto Mode: Automatically cycles through the groups of elements at regular intervals.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes.
- Commit your changes:
git commit -m 'Add your feature description'
- Push to the branch:
git push origin feature/your-feature-name
- Create a pull request.
This project is licensed under the MIT License.