Line 351 had malformed docstring with 8 quotes instead of 3: - Before: """Handle incoming webhooks."""""" (8 quotes) - After: """Handle incoming webhooks.""" (3 quotes) This caused Python to report an unterminated string at EOF. File now parses correctly. |
||
|---|---|---|
| .. | ||
| README.md | ||
| plugin.json | ||
| plugin.py | ||
README.md
Browser Extension Integration Tests
Tests EU-Utility integration with browser extensions.
Communication Protocols
1. Native Messaging
- stdin/stdout communication
- 32-bit length prefix
- JSON message format
2. WebSocket Bridge
- Real-time bidirectional communication
- Port 8765 (configurable)
- Multiple client support
3. HTTP API
- REST endpoints
- Port 8080 (configurable)
- CORS enabled for browser access
Message Format
All messages use JSON format:
{
"type": "message_type",
"id": "unique_id",
"data": {}
}
Supported Message Types
ping- Connectivity checkget_status- Request statussearch- Nexus searchloot_event- Loot notificationglobal- Global/HOF announcement
Compatibility
| Browser | Native Messaging | WebSocket | HTTP |
|---|---|---|---|
| Chrome | ✅ | ✅ | ✅ |
| Firefox | ✅ | ✅ | ✅ |
| Edge | ✅ | ✅ | ✅ |
Manifest Generation
The plugin can generate native messaging manifests for:
- Chrome/Edge (with
allowed_origins) - Firefox (with
allowed_extensions)