https://github.com/moinulmoin/local-guard
LocalGuard - disable extensions on localhost and restore them when you leave
https://github.com/moinulmoin/local-guard
chrome-extension reactjs shadcn-ui tailwindcss wxt
Last synced: 9 months ago
JSON representation
LocalGuard - disable extensions on localhost and restore them when you leave
- Host: GitHub
- URL: https://github.com/moinulmoin/local-guard
- Owner: moinulmoin
- License: mit
- Created: 2024-12-25T09:40:09.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-03-18T15:45:44.000Z (9 months ago)
- Last Synced: 2025-03-18T16:42:59.875Z (9 months ago)
- Topics: chrome-extension, reactjs, shadcn-ui, tailwindcss, wxt
- Language: TypeScript
- Homepage:
- Size: 129 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LocalGuard
Automatically manage Chrome extensions when developing on localhost. Disables extensions when visiting localhost to prevent interference with development and automatically restores them when leaving localhost.
## Features
- Automatically disables extensions when visiting localhost
- Remembers which extensions were enabled
- Automatically restores extensions when leaving localhost
- Manual control through popup interface
- Perfect for web development and testing
## Installation
1. [Install from Chrome Web Store](https://chromewebstore.google.com/detail/localguard/ddankakpahmpdkihalnmgehjefnbjnkn)
2. Or build from source:
```bash
# Clone the repository
git clone https://github.com/moinulmoin/local-guard.git
# Install dependencies
pnpm install
# Run the dev server
pnpm dev
# Get the extension dev build from `.output` folder
# Load the extension in Chrome
```
## Usage
1. Visit any localhost URL (e.g., http://localhost:3000)
2. Extensions will be automatically disabled
3. Leave localhost to restore extensions
4. Use the popup for manual control
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.