https://github.com/blackswandevcom/firefox-woo-id-extractor
a Firefox extension that helps you easily extract and copy the WooCommerce product ID, variation ID, and REST API endpoint from product pages.
https://github.com/blackswandevcom/firefox-woo-id-extractor
firefox firefox-addon woocommerce
Last synced: 11 months ago
JSON representation
a Firefox extension that helps you easily extract and copy the WooCommerce product ID, variation ID, and REST API endpoint from product pages.
- Host: GitHub
- URL: https://github.com/blackswandevcom/firefox-woo-id-extractor
- Owner: blackswandevcom
- Created: 2025-02-02T08:34:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-02T08:38:49.000Z (over 1 year ago)
- Last Synced: 2025-04-07T19:38:46.483Z (about 1 year ago)
- Topics: firefox, firefox-addon, woocommerce
- Language: JavaScript
- Homepage:
- Size: 530 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlackSwanDev - WooCommerce Product ID Extractor
The **WooCommerce Product ID Extractor** is a Firefox extension that helps you easily extract and copy the WooCommerce product ID, variation ID, and REST API endpoint from product pages. Designed for WooCommerce developers and administrators, this tool simplifies the process of identifying product data without needing to inspect the page source.
---
## Features
- Display WooCommerce **Product ID**, **Variation ID**, and **REST API** link on product pages.
- Click any ID to copy it to the clipboard with a confirmation message.
- Automatically updates when the product or variation changes.
- Lightweight and easy to use with a non-intrusive interface.
- Supports WooCommerce events (`found_variation`, `reset_data`) to ensure real-time updates.
---
## Installation Guide
### Step 1: Download the Extension
1. Clone or download the project from the GitHub repository.
2. Ensure you have the extension files:
- `manifest.json`
- `content.js`
- `styles.css`
- `icon.png`
- `jquery.min.js`
### Step 2: Load the Extension in Firefox
1. Open Firefox and navigate to `about:debugging`.
2. Click **"This Firefox"** in the left-hand menu.
3. Click **"Load Temporary Add-onβ¦"**.
4. Select the `manifest.json` file from the project directory.
### Step 3: Use the Extension
1. Navigate to any WooCommerce product page.
2. Click the extension icon to activate the tool.
3. A dark-glossy transparent box will appear at the bottom-right corner, displaying the **Product ID**, **Variation ID**, and **REST API**.
4. Click on any of the IDs to copy them to the clipboard. A toast message will confirm the copy action.
---
## Permissions
The extension requires the following permissions:
- `activeTab` β Access to the currently active tab to inject scripts.
- `` β Allows the extension to run on WooCommerce sites.
---
## Uninstalling the Extension
1. Open Firefox and navigate to `about:debugging`.
2. Under **"Temporary Extensions"**, locate **WooCommerce Product ID Extractor**.
3. Click the **Remove** button to uninstall the extension.
---
## Contributors
Developed by **AmirhpCom** at **BlackSwanDev.com**.
Feel free to contribute by creating pull requests or submitting issues on GitHub.
---
## License
This project is licensed under the **MIT License** β feel free to use and modify the code as needed.
---
## Contact & Support
For support or feature requests, please create an issue on the GitHub repository.
Thank you for using **WooCommerce Product ID Extractor**! π