Element to LLM 版本历史 - 9 个版本
Element to LLM 作者: insitu.im
Element to LLM 版本历史 - 9 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 2.6.1
发布于 2025年12月5日 - 95.05 KB适用于 firefox 112.0 及更高版本Version 2.6.1 (2025-12-05)
Bug Fixes
Fixed child prioritization - Pages with many hidden elements (e.g., SCRIPT tags) no longer block visible content from being captured
Fixed content script injection - Removed redundant utils.js injection that caused Firefox "non-structured-clonable" error
Fixed telemetry - Added missing host_permissions for telemetry endpoint
Version 2.6.0 (2025-12-03)
Programmatic API for Automation
CustomEvent interface - Call capture from Playwright/Puppeteer/Selenium via DOM events
Auto-injection - Utils and API scripts injected on all pages via content_scripts
Request/Response pattern - e2llm-capture-request / e2llm-capture-response events
Selector support - Capture any element by CSS selector, defaults to full page源代码遵循 MIT 许可证 发布
较早版本
版本 2.6.0
发布于 2025年12月4日 - 95.06 KB适用于 firefox 112.0 及更高版本Programmatic API for Automation
CustomEvent interface - Call capture from Playwright/Puppeteer/Selenium via DOM events
Auto-injection - Utils and API scripts injected on all pages via content_scripts
Request/Response pattern - e2llm-capture-request / e2llm-capture-response events
Selector support - Capture any element by CSS selector, defaults to full page
Usage from automation:
await page.evaluate(() => {
const id = Date.now().toString();
return new Promise((resolve) => {
document.addEventListener('e2llm-capture-response', (e) => {
if (e.detail.requestId === id) resolve(e.detail);
}, { once: true });
document.dispatchEvent(new CustomEvent('e2llm-capture-request', {
detail: { requestId: id, selector: 'body', options: { fullPage: true } }
}));
});
});源代码遵循 MIT 许可证 发布
版本 2.5.1
发布于 2025年11月29日 - 93.19 KB适用于 firefox 112.0 及更高版本Privacy & Telemetry (Optional, Opt-in Only)
This update introduces a strictly optional analytics module designed for minimal, privacy-first usage insights.
What’s collected (only if you opt-in):
Anonymous daily capture count
Output format preference (SiFR v1 / v2)
Capture type ratio (element vs. full-page)
Random UUID per installation (for aggregate DAU/MAU only)
What’s never collected:
Page content
URLs or browsing history
Personal data
External identifiers
Any DOM data itself
Data is sent once per day using a scheduled alarm. All telemetry can be declined on first run and disabled anytime.
Privacy policy: https://insitu.im/e2llm/privacy
SiFR v2 Output Format
The new SiFR v2 format provides a richer and more structured DOM snapshot for LLMs.
Key improvements:
New 5-block structure: METADATA → NODES → SUMMARY → RELATIONS → DETAILS
Salience-based scoring (high/med/low) for smarter token budgets
Spatial clustering with automatic role detection (header, footer, nav, card, etc.)
Relation extraction (alignment, proximity, containment)
Action markers (clickable, fillable, hoverable)
Full-page capture mode with relaxed limits
Smart token budgeting based on salience + structure
CSS shorthand optimization for cleaner output
⚙️ Technical Changes
Added alarms permission to support scheduled telemetry (opt-in only)
Added BSL 1.1 license header to the core algorithm (utils.min.js)
CI/CD pipeline now injects licenses automatically after minification源代码遵循 MIT 许可证 发布
版本 1.2.4
发布于 2025年9月6日 - 58.44 KB适用于 firefox 112.0 及更高版本Performance Improvements- Improved border shorthand conversion eliminates redundant properties
- Enhanced outline shorthand handling removes default values
- Optimized background shorthand with comprehensive property consolidation
- Reduced boundingBox from 8 to 4 essential properties (x, y, width, height)
Metadata Enhancements- Added userAgent to capture browser/OS information
- Added extension version dynamically from manifest
Store Compliance- Added short_name field for better display in limited spaces
- Standardized manifest fields across Firefox and Chrome
- Ensured all field lengths comply with store requirements
Technical Details- Estimated 20-30% additional JSON size reduction from property optimizations
- Border properties now use individual side shorthands when needed
- Background properties intelligently exclude default values
- All metadata changes result in smaller overall payload
源代码遵循 MIT 许可证 发布
版本 1.2.3
发布于 2025年9月3日 - 57.06 KB适用于 firefox 112.0 及更高版本- ⚡ Performance optimized: snapshot size reduced by ~60% (e.g. 320KB → 130KB on large sites)
- 🔒 Code minified for better efficiency and protection
- 🛠️ Stability improvements and minor fixes
源代码遵循 MIT 许可证 发布
版本 1.2.2
发布于 2025年8月22日 - 49.89 KB适用于 firefox 112.0 及更高版本Minor UI Changes
- Added Mozilla Add-ons review link to popup footer
- Improved user engagement with gentle star rating request
- Updated version display in popup interface源代码遵循 MIT 许可证 发布
版本 1.2.1
发布于 2025年8月19日 - 49.8 KB适用于 firefox 112.0 及更高版本Bug Fixes- Fixed memory leak from uncleaned interval timer that was causing crashes over time
- Fixed event listener accumulation across script injections that led to performance degradation
- Improved event listener cleanup using bound function references instead of unreliable boolean flags
- Enhanced cleanup sequence to prevent resource leaks on page navigation and tab switching
Technical Improvements- Proper interval ID tracking with clearInterval on cleanup
- Bound event handler references for reliable listener removal
- Safer event listener management that works across multiple script injections
- Better resource disposal prevents memory accumulation during extended browsing sessions
源代码遵循 MIT 许可证 发布
版本 1.2.0
发布于 2025年8月19日 - 49.56 KB适用于 firefox 112.0 及更高版本Bug Fixes:
Fixed extension crashes after multiple uses that caused "something went wrong" errors. Resolved duplicate script injection that was causing memory leaks and accumulating event listeners. Fixed orphaned DOM elements that were
polluting pages. Improved error handling with graceful degradation when background script becomes unavailable.
Performance Improvements:
Added intelligent lifecycle management so background script hibernates when not in use. Wake-up occurs on demand with instant activation when user opens popup or clicks icon. Reduced memory footprint through better cleanup of
large DOM capture data. Optimized cleanup intervals to be less frequent but more targeted.
Technical Improvements:
Persistent state management ensures injection tracking survives background script restarts. Health monitoring provides automatic detection and recovery from background script issues. Fallback clipboard methods work even when
background script is unresponsive. Better event listener management prevents duplicate handlers and memory leaks.
Reliability:
Extension can hibernate naturally between uses making it Firefox-friendly. Instant wake-up when user interaction occurs. Maintains data persistence for "Copy Again" button functionality. Graceful handling of Firefox memory
management.源代码遵循 MIT 许可证 发布