Enter Key Fix for AI Chatbots のバージョン履歴 - 全 6 バージョン
Enter Key Fix for AI Chatbots 作成者: Takahiro
Enter Key Fix for AI Chatbots のバージョン履歴 - 全 6 バージョン
古いバージョンに注意してください!これらのバージョンは、テストや参照を目的に表示されています。常に最新バージョンのアドオンを使用してください。
最新バージョン
バージョン 6.1.0
リリース日 : 2026年6月5日 - 33.74 KBfirefox バージョン 58.0 以降 で動作Release Notes — v6.1.0
Summary
This release is a major architectural refactor of the content script, addition of a new supported platform, and a fix for the extension icon not displaying inabout:addons.
What Changed
Core refactor (content-scripts/main.js)
The previous implementation (~1,000 lines) used per-elementMutationObservertracking and separate code paths for each editor type (ProseMirror, Quill, Tiptap, textarea, generic contenteditable), including direct DOM manipulation and multiple fallback strategies.
This has been replaced with a singlekeydownlistener registered at thedocumentcapture phase (~110 lines total). The new logic is:- Plain Enter on
<textarea>— inserts\ndirectly via the nativeHTMLTextAreaElement.prototypevalue setter, then dispatches aninputevent. This is necessary to trigger React's onChange without bypassing its internal state tracking. - Plain Enter on
contenteditable— re-dispatches the event asShift+Enter(isTrusted: false) so the host site's own handler inserts the newline natively. No DOM mutation is performed by the extension. - Ctrl/Cmd+Enter — finds the nearest enabled submit button via CSS selectors and calls
.click(). - Shift+Enter — not intercepted; passes through unchanged.
TheisTrustedguard on the listener ensures re-dispatched synthetic events are never re-intercepted. No new permissions are required.
New platform: Felo (felo.ai)
Added*://felo.ai/*tocontent_scriptsmatches inmanifest.json. UpdatedsupportedDomainsinbackground.jsand the platform list inpopup.js/popup.html. Felo uses a<textarea>input, handled by the direct value insertion path above.
Icon fix (icons/icon.svg)
Removed a<linearGradient>element referenced viafill="url(#shine)". Theurl(#id)reference fails when SVG is rendered as an image source (as used byabout:addons), causing the icon to not display. Replaced with an equivalentfill="#fff" fill-opacity="0.10"on the same<rect>. No visual change to the icon.
No Changes To- Permissions (
activeTab,storage— unchanged) background.jslogic (icon update + message relay — unchanged)popup/UI and CSP-safe DOM construction (unchanged)- Manifest version (still MV2)
ソースコードは Mozilla Public License 2.0 に従いリリースされています
- Plain Enter on
以前のバージョン
バージョン 5.0.0
リリース日 : 2026年4月27日 - 40.47 KBfirefox バージョン 58.0 以降 で動作v5.0.0
New- Redesigned icon — replaced the previous PNG icons (16/48/128px) with a single scalable SVG. The new icon features an amber rounded-square background with a white ↵ arrow and a subtle keyboard key border outline.
ソースコードは Mozilla Public License 2.0 に従いリリースされています
バージョン 4.0.0
リリース日 : 2026年4月27日 - 39.69 KBfirefox バージョン 58.0 以降 で動作v4.0.0 Release Notes
Removed- Visual Focus Ring Indicator
Removed the green focus ring overlay that previously appeared on detected input fields. The indicator caused friction in real-world usage and exhibited unstable positioning on certain platforms. - Unsupported Platform Manifest Entries
Removed URL match patterns fordevv.ai,felo.ai, andperplexity.ai. These platforms were never officially supported, and the leftover declarations caused unnecessary content script injection.
ソースコードは Mozilla Public License 2.0 に従いリリースされています
- Visual Focus Ring Indicator
バージョン 3.0.0
リリース日 : 2026年4月24日 - 41.16 KBfirefox バージョン 58.0 以降 で動作Version 3.0.0
Popup UI Redesign
- Replaced the generic purple gradient with a clean Warm Light theme using refined typography (DM Sans + JetBrains Mono)
- Keyboard shortcuts are now displayed as styled keycap badges with descriptive labels
- Status indicator changed to a compact dot + animated toggle switch
- All 5 supported platforms now listed with their domain URLs: chatgpt.com, claude.ai, gemini.google.com, chat.mistral.ai, grok.com
- Unsupported-site view also shows the full platform list with URLs
Improved Focus Ring Indicator
- The green focus ring that appears on supported input fields is now rendered as aposition: fixedoverlay, preventing it from being clipped by parentoverflow: hiddencontainers
- Ring position now correctly follows the visual input box boundary rather than the raw editing surface
- Focus ring appears immediately even when the input is auto-focused on page load
- Smooth fade-in/fade-out transition on focus and blur
Bug Fixes & Code Quality
- Fixed allinnerHTMLstring assignments replaced with safe DOM APIs for Mozilla AMO CSP compliance
- Toggle button state now managed withclassList.add/removeinstead of fullclassNamereplacementソースコードは Mozilla Public License 2.0 に従いリリースされています
バージョン 2.0.0
リリース日 : 2026年4月24日 - 38.73 KBfirefox バージョン 58.0 以降 で動作Version 2.0.0
What's New
Security & Compliance- Mozilla CSP Compliance: Replaced all direct
innerHTMLassignments with safe DOM APIs (createElement,appendChild,textContent) to comply with Firefox extension Content Security Policy requirements - Updated popup unsupported site message rendering
- Refactored ProseMirror newline insertion methods
- Improved cursor positioning logic for safer DOM manipulation
Platform Support- Extended extension name to reflect full platform support: Claude.ai, ChatGPT, Google Gemini, Mistral Le Chat, and Grok
- Confirmed compatibility across 5 major AI chat platforms
Bug Fixes & Improvements- Fixed document-level event interception for Claude.ai's Tiptap editor
- Enhanced event guard ordering in capture-phase listeners
- Improved support for Le Chat's ProseMirror implementation
- Fixed Quill editor handling with multiple fallback approaches
- Added proper
stopImmediatePropagation()handling for robust event management
Technical Details
Breaking Changes: None - this is a minor version bump focused on security and stability.
Compatibility:
- Firefox 45+
- No additional permissions required
- No external dependencies
Changes:
- Bumped manifest version from 1.0.0 to 2.0.0
- Refactored DOM manipulation to use native browser APIs instead of HTML string assignments
- Simplified cursor positioning logic for ProseMirror editors
Migration Notes
Users should simply update the extension. All keyboard remapping functionality remains unchanged:
- Enter → Insert newline
- Ctrl+Enter → Send message
No user configuration changes are needed.ソースコードは Mozilla Public License 2.0 に従いリリースされています
- Mozilla CSP Compliance: Replaced all direct
バージョン 1.0.0
リリース日 : 2025年6月12日 - 34.29 KBfirefox バージョン 58.0 以降 で動作ソースコードは Mozilla Public License 2.0 に従いリリースされています