A universal Chrome extension that helps you hide prices on any e-commerce website.
This extension was born from a simple but relatable problem: whenever I show my Mom something online to choose from, she first sees the prices and then decides based on cost rather than preference. I wanted her to choose what she genuinely likes without being influenced by price tags. Since manually hiding prices by hand isn't practical, I built this extension to solve the problem automatically - now she can browse and pick what she truly wants, and we can discuss pricing afterward!
- 🔒 Universal Price Detection - Works on any e-commerce website
- 🎛️ Easy Toggle - Simple on/off switch via popup interface
- 🌐 Smart Detection - Automatically detects e-commerce sites and price patterns
- 🚀 Lightweight & Fast - Minimal performance impact
- 🔄 Real-time Updates - Automatically hides new prices as you browse
- 🎯 Intelligent Filtering - Avoids false positives like dates, phone numbers
- ✨ Complete Removal - Prices are hidden from DOM but can be restored
- 💰 Multi-Currency Support - Supports ₹, $, €, £, ¥ and more
- Clone or download this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extension folder
- The extension icon will appear in your toolbar
Coming soon - extension will be published to Chrome Web Store
- Visit any e-commerce website (Amazon, Flipkart, Myntra, eBay, etc.)
- Click the extension icon in your toolbar
- Toggle "Hide Prices" on/off as needed
- The popup shows which site is detected
- Prices are instantly hidden from the page
- Toggle off to restore all prices
This extension uses a universal algorithm that works on any e-commerce website, including:
- Major Platforms: Amazon, Flipkart, Myntra, eBay, Walmart, Target, Best Buy
- Regional Sites: Ajio, Nykaa, Meesho, and more
- E-commerce Platforms: Shopify, WooCommerce, Magento stores
- Any Website: With price information in supported currencies
hide-the-prices-extension/
├── manifest.json # Extension configuration
├── .gitignore # Git ignore rules
├── README.md # This file
├── icons/ # Extension icons (16, 32, 48, 128px)
├── html/
│ └── popup.html # Popup interface
├── css/
│ ├── popup.css # Popup styling
│ └── content.css # Price hiding styles
└── js/
├── popup.js # Popup functionality
├── background.js # Service worker
├── site-configs.js # Universal price detection algorithm
└── content.js # Main price hiding logic
- Manifest V3 - Latest Chrome extension format
- Service Worker - Efficient background processing
- Universal Algorithm - Works across all e-commerce sites
- Mutation Observer - Real-time price detection
- Local Storage - Remembers user preferences
- Detection: Scans page content for price patterns using regex
- Validation: Filters out false positives (dates, phone numbers, etc.)
- Hiding: Applies CSS to completely hide price elements
- Monitoring: Watches for new content and hides prices dynamically
- Restoration: Can restore all hidden prices when toggled off
The extension uses a sophisticated algorithm that:
- Detects multiple currency formats (₹1,234, $99.99, €50.00, etc.)
- Validates element size and content to avoid false positives
- Excludes navigation, headers, and other non-price content
- Works on any website without site-specific configuration
- ✅ No Data Collection - Extension doesn't collect or transmit any data
- ✅ Local Storage Only - Preferences stored locally on your device
- ✅ No Tracking - No analytics or user behavior tracking
- ✅ Open Source - Full source code available for review
- ✅ Minimal Permissions - Only requests necessary permissions
Contributions are welcome! Please feel free to:
- Report Issues - Found a bug or have a suggestion?
- Submit Pull Requests - Improvements and new features
- Test on Different Sites - Help improve compatibility
- Improve Documentation - Help others understand the project
- Fork this repository
- Make your changes
- Test thoroughly on multiple e-commerce sites
- Submit a pull request with a clear description
MIT License - See LICENSE file for details.