Managing Groups
Learn how to organise, edit, and maintain your highlight groups.
Accessing the Options Page
To manage your groups:
- Click the Live Highlighter icon in your browser toolbar
- Click Manage Groups in the popup
Reordering Groups
Why Order Matters
When text matches words in multiple groups, only the first matching group applies. Group order determines which highlight wins when there's a conflict.
Example
If you have these groups (in order):
- "production" → Red
- "prod" → Orange
The text "production" will be highlighted in red because it matches the first group before reaching the second.
How to Reorder
- Open the options page
- Click and hold the drag handle (⋮⋮) next to a group
- Drag the group up or down
- Release to drop it in the new position
- Changes are saved automatically
Ordering strategy
Place more specific groups above more general ones:
- "production-database" → Red (most specific)
- "production" → Orange
- "prod" → Yellow (catch-all)
Info
The drag handle is hidden when you only have one group.
Toggling Groups On/Off
Temporarily disable a group without deleting it:
- Open the options page
- Click the toggle switch next to the group
- Disabled groups are greyed out and won't highlight anything
When to toggle off:
- Testing a different highlighting scheme
- Temporarily reducing visual clutter
- Keeping seasonal or context-specific groups ready but inactive
Editing a Group
To rename a group or change its colour:
- Name: Click the group name text (or the pencil icon) to edit it inline
- Colour: Click the colour swatch in the group header to open the colour picker, then select a new colour
Changes are saved automatically.
Adding and Removing Words
To add a word to an existing group:
- Expand the group by clicking its header
- Type a word or phrase in the input field
- Press Enter or click Add
To remove a word, click the × on its chip.
Deleting Groups
To permanently remove a group and all its words:
- Open the options page
- Click the delete icon (🗑️) next to the group
- Confirm the deletion
No undo
Deleted groups cannot be recovered.
Global Toggle
The toggle at the top of the options page (and in the popup) disables all highlighting across every tab without changing your groups. Use this to quickly pause highlighting and re-enable it later.
Organising Large Setups
Group by Purpose
Use descriptive group names so your setup stays readable:
- "Cloud: Production" → Red
- "Cloud: Staging" → Yellow
- "Cloud: Dev" → Green
- "Logs: Errors" → Pink
- "Logs: Warnings" → Orange
Regular Maintenance
Periodically review your groups:
- Remove groups you no longer use
- Tune matching options if you're seeing false positives
- Reorder groups based on current priorities
Performance
- Live Highlighter uses the CSS Custom Highlight API — no DOM modification
- Highlighting is fast even with many groups and words
- A debounced observer re-highlights after DOM mutations (e.g., lazy-loaded content)
- Works in iframes and shadow DOM within the same page
Troubleshooting
Groups Not Applying
If a group isn't highlighting:
- Check that the group is enabled (toggle should be on)
- Check that global highlighting is enabled (popup toggle)
- Verify the word exists on the page with the correct spelling
- Check if case sensitivity is enabled and the case matches
- Check if a higher-priority group is matching the same text first
Unexpected Highlights
If text is highlighting unexpectedly:
- Review group order — a more general group might be matching first
- Enable Match whole word to prevent partial matches
- Make your words more specific
Next Steps
- Learn more about matching options
- Explore use cases for different scenarios