mirror of
https://github.com/Usagi-org/ai-goofish-monitor.git
synced 2025-11-25 03:15:07 +08:00
1.2 KiB
1.2 KiB
Xianyu Login State Extractor Chrome Extension
This Chrome extension helps extract complete login state information from Xianyu (Goofish) for use with the monitoring robot.
Installation
- Open Chrome and navigate to
chrome://extensions - Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the
chrome-extensiondirectory - The extension icon should now appear in your toolbar
Usage
- Navigate to https://www.goofish.com
- Log in to your account
- Click the extension icon in the toolbar
- Click "Extract Login State"
- The complete login state will be displayed - click "Copy to Clipboard" to copy it
- Save the copied JSON as
xianyu_state.jsonin your project directory
Features
- Extracts all cookies including HttpOnly cookies that are not accessible via JavaScript
- Formats output as JSON compatible with the monitoring robot
- One-click copy to clipboard functionality
- Real-time status feedback
How It Works
The extension uses the chrome.cookies API to access all cookies for the .goofish.com domain, including those with the HttpOnly flag set. This bypasses the normal JavaScript security restrictions that prevent access to these cookies.