Customize and visualize your environment by automatically modifying site favicons.
- Chrome Web Store: Available here
- Microsoft Edge Add-ons: Available here
EnvIcon is a Chrome extension designed for developers and QA engineers to easily distinguish between different environments (Development, Staging, and Production) by adding a labeled overlay to the site's favicon.
- Dynamic Favicon Overlay: Adds a customizable badge (up to 4 characters) to the site's favicon.
- In-Page Badge: Displays a floating, semi-transparent badge in any corner of the page for clear environment identification.
- Flexible Environment Detection: Supports both exact hostnames and Regular Expressions (Regex).
- Fully Customizable:
- Custom Environments: Create and manage your own environments (e.g., QA, UAT, Local).
- Visual Styling: Customize badge text, color, and outline color for each environment.
- Independent Toggles: Enable or disable Favicon and In-Page badges separately per environment.
- Advanced Features:
- Dynamic Detection: Automatically updates overlays even when a site changes its favicon dynamically.
- Priority Management: Reorder hostnames within an environment using drag-and-drop.
- Multilingual Support: Available in both English and Japanese.
- Open the extension's Options page.
- Customize your environment settings:
- Environments: Use default PROD/STG/DEV or add custom ones.
- Matching Rules: Add hostnames or enable Regex for advanced patterns.
- Appearance: Adjust colors, text, and badge positions.
- Click Save to apply changes.
- Node.js
- npm
To build the extension, run:
npm run buildThis will compile the TypeScript source files and generate the final extension package in the EnvIcon directory, as well as a EnvIcon.zip file for distribution.
If you need to clear all saved configurations and return the extension to its initial state during testing, follow these steps:
- Open the extension Options page.
- Press
F12(orCmd+Option+Ion Mac) to open the Developer Tools. - Go to the Console tab.
- Copy and paste the following code and press
Enter:
chrome.storage.sync.clear(() => {
chrome.storage.local.clear(() => {
console.log('All data cleared. Reloading page...');
location.reload();
});
});This will clear all environment configs, language settings, dark mode preferences, and tutorial completion status.
MIT