ESI Resolver 版本紀錄 - 2 個版本
ESI Resolver 作者: Joel Köbner
ESI Resolver 版本紀錄 - 2 個版本
小心舊版本!這些版本只是提供來測試與參考用。您應該隨時用最新版的附加元件。
最新版本
版本 1.2.0
發行於 2025年12月10日 - 100.99 KB適用於 firefox 58.0 與更新版本[1.2.0] - 2025-12-10
Added- Script Execution Support: ESI fragments now properly execute JavaScript code
- Extract script tags from ESI content before HTML insertion
- Execute scripts in proper order after content insertion
- Support for both inline scripts and external script references
- Preserve script attributes (async, defer, etc.)
- Script Execution Toggle: New "Execute scripts ⚠️" option in popup settings
- Disabled by default for security
- Warning icon indicates potential security implications
- User must explicitly enable script execution
Changed- ESI fragments now provide complete functionality including JavaScript execution
- More accurate simulation of real edge-side includes
Security- Script execution is opt-in only (disabled by default)
- Scripts execute in current page context (same as real ESI)
- Clear visual warning for security implications
[1.1.0] - 2024-12-10
Added- Debug Logging Control: New conditional logging system
- Debug logging toggle in popup settings
- Logs only appear when both plugin is enabled AND debug logging is enabled
- Clean console by default (no logs unless explicitly enabled)
- Performance Optimization: Settings caching with storage change listeners
Changed- Console Output: All console.log statements replaced with conditional debugLog function
- Settings System: Extended to include debug logging preference
- User Experience: Clean console experience by default
Fixed- Console pollution from excessive logging
- Debug information now controllable by user
[1.0.0] - 2025-12-10
Added- ESI Tag Resolution: Automatically resolves
<esi:include>tags and ESI comments - Toggle Control: Easy on/off switch with visual icon indicators
- Statistics Tracking: Monitor successful/failed ESI requests with detailed stats
- Jump Navigation: Click to jump directly to any ESI fragment on the page
- Custom Headers: Add custom HTTP headers to ESI fragment requests
- URL Resolution: Smart resolution of relative URLs against page base URL
- Error Handling: Clear error messages for failed ESI requests
- Try/Except Support: Handles complex ESI try/attempt/except structures
- Browser Compatibility: Support for Firefox and Chrome
- Visual Indicators: Green/red icons for enabled/disabled states
Features- Process ESI tags in various formats (standard tags, comments, try blocks)
- Forward request headers and cookies (optional)
- Real-time statistics display
- Fragment highlighting and navigation
- Persistent settings storage
- Background processing with content script injection
原始碼依照 僅 GNU General Public License v3.0 條款釋出
較舊版本
版本 1.0.0
發行於 2025年9月29日 - 98.67 KB適用於 firefox 58.0 與更新版本Core Functionality:✅ ESI Tag Resolution: Automatically detects and resolves <esi:include> tags on web pages
✅ ESI Comment Support: Handles ESI tags embedded in HTML comments
✅ Try/Except Blocks: Full support for <esi:try> / <esi:attempt> / <esi:except> structures
✅ Smart URL Resolution: Automatically resolves relative URLs against the current page
User Interface:🎛️ Toggle Control: Simple on/off switch in extension popup
📊 Live Statistics: Real-time tracking of total, successful, and failed ESI requests
🔗 Jump Navigation: Click any fragment URL to scroll directly to it on the page
🎨 Visual Indicators: Dynamic icon switching (green=ON, red=OFF)
Advanced Features:🛠️ Custom Headers: Add custom HTTP headers to ESI fragment requests
⚠️ Error Display: Clear error messages for failed ESI requests with fallback content
🧹 Statistics Management: Clear statistics per page with one click
🔄 Auto-cleanup: Automatic removal of old statistics after 1 hour
🌐 Browser SupportFirefox: Full support for Firefox 90+
Chrome: Full support for Chrome 90+
Edge: Compatible (Chromium-based)
🔧 Technical Details
Permissions Required:activeTab: Access current tab for ESI processing
storage: Store extension settings and statistics
<all_urls>: Make HTTP requests to fetch ESI fragments
File Structure:Content script for ESI processing
Background script for icon management
Popup interface for user controls
Dual icon sets for enabled/disabled states
🛠️ Developer FeaturesComprehensive Logging: Detailed console output for debugging
Fragment Tracking: Each processed ESI fragment gets a unique ID
Error Handling: Graceful fallbacks for network issues and malformed ESI
Cross-browser Compatibility: Uses browser API abstraction layer原始碼依照 僅 GNU General Public License v3.0 條款釋出