A powerful Chrome extension that allows users to extract product information from any website using custom HTML class tags. Perfect for price comparison, inventory management, and market research.
- 🎯 Universal Compatibility: Works with any e-commerce website
- 🏷️ Custom Tag Definition: Define your own HTML class tags for items and prices
- 💾 Site-Specific Memory: Saves different tag configurations for each website
- 📊 CSV Export: Export extracted data in CSV format
- 🔄 Real-time Extraction: Instantly extract product information
- 🎨 Clean Interface: User-friendly popup interface
- Visit the Chrome Web Store (link coming soon)
- Click "Add to Chrome"
- Confirm the installation
- Download or clone this repository
- Open Chrome and go to
chrome://extensions/
- Enable "Developer mode" in the top right corner
- Click "Load unpacked"
- Select the extension directory
Before using the extension, you need to identify the HTML class tags for products on your target website:
- Right-click on the product element (item code/number)
- Select "Inspect"
- Look for the class names in the highlighted HTML
- Copy the relevant class names (e.g., "part-info__code js-ga-product-line-number")
- Repeat for price elements
- Click the extension icon in Chrome toolbar
- In the "Define Tags" section:
- Enter the item class tag in the first input field
- Enter the price class tag in the second input field
- Click "Save Tags"
- Your tags are now saved for this specific website
- Navigate to the product page
- Click the extension icon
- Click "Extract Data"
- Review the extracted information
- Click "Download CSV" to export the data
If you see "No products found with current tags":
- Verify the class names are correct
- Make sure you're on the right page
- Check if the website's structure has changed
- Try using different class combinations
If the extracted data doesn't match what you see:
- Make sure you're using the most specific class names
- Check if there are multiple elements with the same class
- Try using a combination of classes for more precise targeting
If the CSV file is empty or contains incorrect data:
- Make sure data was successfully extracted first
- Try extracting the data again
- Clear the extension's saved data and restart
The extension uses:
- Chrome Extension Manifest V3
- Chrome Storage API for saving site-specific tags
- Chrome Scripting API for DOM manipulation
- Modern JavaScript (ES6+)
- Custom CSS for styling
- ✅ No data is sent to external servers
- ✅ All data is stored locally in your browser
- ✅ No tracking or analytics
- ✅ Minimal permissions required
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Mehran Mirzaei - LinkedIn
Project Link: https://github.com/sirmirzaei/UPS-universal-product-scanner
- Thanks to all contributors and users
- Special thanks to the Chrome Extensions community