A Chrome extension that automatically extracts buyer IDs from Shopee seller center order pages.
- Automatic ID Extraction: Automatically extracts buyer usernames from order pages
- Auto-Pagination: Automatically navigates through all pages to collect IDs
- Progress Tracking: Real-time progress display showing:
- Current page number
- Number of IDs collected per page
- Total IDs collected
- Unique IDs count
- Duplicate count
- Duplication rate
- Data Management:
- Copy all IDs to clipboard
- Download IDs as text file
- Remove duplicate IDs
- Restore IDs to state before duplicate removal
- Data Persistence: All collected IDs are saved in browser storage and persist between sessions
- Download or clone this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the extension directory
- Navigate to your Shopee Seller Center order page
- Click the extension icon in Chrome toolbar
- Click "開始提取ID" (Start Extraction) to begin collecting IDs
- The extension will:
- Add two test IDs ("3dstu_test") for verification
- Automatically navigate through all pages
- Extract buyer IDs from each page
- Wait 5 seconds between page transitions
- Display real-time progress and statistics
- Copy IDs: Click "複製全部ID" to copy all IDs to clipboard
- Download IDs: Click "下載ID清單" to save IDs as a text file
- Remove Duplicates: Click "刪除重複ID" to remove duplicate IDs
- Restore: Click "復原刪除重複" to restore IDs to their state before duplicate removal
manifest.json
: Extension configurationpopup.html
: Extension popup interfacepopup.js
: Popup logic and user interactionscontent.js
: Page scraping and navigation logic
activeTab
: For accessing the current tabscripting
: For executing scriptstabs
: For tab manipulation- Host permission for
*://*.shopee.tw/*
- Uses Chrome's
localStorage
for data persistence - Stores both current and original (pre-duplicate removal) ID lists
- Waits for elements to load before extraction
- Gracefully handles pagination end
- Maintains data integrity during duplicate removal and restoration
- Works only on Shopee Taiwan seller center pages
- Maximum storage capacity limited by Chrome's localStorage limits
- Requires manual start for each extraction session
The extension includes two identical test IDs ("3dstu_test") that are added at the start of each extraction. These can be used to verify:
- The duplicate detection functionality
- The duplicate removal feature
- The restore functionality
For issues or feature requests, please contact the developer or submit an issue in the repository.
This project is licensed under the MIT License - see the LICENSE file for details.