Repository navigation
X-Proxy v1.3.0
[1.3.0] - 2025-12-27
Added - Bypass List Feature (Issue #6)
-
Routing Mode Selection
- Added radio buttons for whitelist/blacklist mode selection
- Whitelist mode: only listed domains use proxy (existing behavior)
- Blacklist mode: listed domains bypass proxy, all others use proxy
- Dynamic label and placeholder updates based on selected mode
-
User Interface Enhancements
- Clean radio button design with visual feedback
- Mode-specific placeholder text with example domains
- Help text for domain pattern syntax
- Profile color now displayed in Popup (matches Options page)
- Simplified "Add Profile" button text
Changed
-
PAC Script Generation
- Enhanced
generatePAC()to support both whitelist and blacklist modes - Blacklist mode reverses proxy logic (matched domains go direct)
- Maintains backward compatibility with existing whitelist-only profiles
- Enhanced
-
Data Model
- Extended
routingRuleswithmodeproperty ("whitelist" | "blacklist") - Default mode:
'whitelist'for backward compatibility - Profile duplication now copies routing mode
- Extended
Technical
- New helper method:
updateDomainListLabel() - CSS styling for radio button components
- Updated profile normalization to include
modeproperty
Backward Compatibility
- Existing profiles without
modedefault to whitelist behavior - No migration required for existing configurations