Managing Profiles
A profile is a fully isolated bundle: its own domains, header rules, redirect rules, and mock rules. Keep a "Staging" profile and a "Production" profile side by side, for example, and switch between them from the popup header without losing either one.
What's shared across every profile
Two things live outside profiles entirely, so switching profiles never resets or re-prompts for them:
- The master on/off toggle for the whole extension.
- The one-time host permission grant (see Domains).
Switching profiles
Pick a profile from the dropdown in the popup header. If you have unsaved edits on the current tab, DevHeader asks you to Discard, Save, or Cancel before switching — the same prompt you'd see switching tabs with unsaved edits.
The Manage Profiles view
Open Manage Profiles to:
- Create a new profile, optionally copying rules from an existing one.
- Duplicate a profile — its domains and rules are cloned, not shared, so editing the copy never touches the original.
- Rename, reorder, or delete a profile.
- Multi-select several profiles for a bulk duplicate or delete.
Name collisions are handled automatically — duplicating "Staging" produces "Staging (2)", and so on.
You can't delete your only remaining profile. If you try to delete the profile you currently have active, DevHeader asks you to switch to a different one first.
Export and import
- Export a single profile or your entire configuration to a JSON file.
- Import is always additive — it never overwrites or merges with profiles you already have. If an imported profile's name collides with an existing one, it's renamed automatically (the same "Staging (2)" behavior as duplicating), and the import preview shows you which incoming profiles will be renamed before you confirm.