Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
附加组件图标

Open WebUI Context Menu 版本历史 - 3 个版本

Open WebUI Context Menu 作者: UnitedWeRide

评分 5 / 5
5 / 5 星
5
1
4
0
3
0
2
0
1
0
Open WebUI Context Menu 版本历史 - 3 个版本
  • 小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。

  • 最新版本

    版本 2.5

    发布于 2025年11月10日 - 23.47 KB
    适用于 firefox 58.0 及更高版本
    OpenWebUI Context Menu – Version 2.5
    Highlights

    Customizable Defaults: "Explain" and "Research" are now fully customizable custom menu items, giving users full control.
    Automatic Migration: Existing prompts and settings convert automatically on update/import—no data loss.
    Increased Limit: Max custom menu items raised to 10 for more flexibility.
    Auto-Save & Debounced: Settings save instantly with debouncing to reduce storage writes. No manual save needed.
    Enhanced URL Detection: Fixed incorrect youtube=true queries. Users choose source per item: Selected Text, Page URL, or Prefer Selected Text. Only one ID/URL sent to Open WebUI. Dynamic tooltips explain options in real time.
    Auto-Scrolling: New menus scroll into view automatically.


    Key Changes
    Options UI (options.html + options.js)

    Removed “Explain” and “Research” prompt sections.
    Deleted manual “Save Settings” button.
    Added auto-save via saveSettings.
    Implemented debouncing for performance.
    Event listeners now trigger save on any change.
    Removed "Save Item" button—items save instantly.
    Enabled scrollIntoView() when adding new items.
    Added migration logic to convert old prompts on load/import.
    Max custom items increased to 10.


    Background Script (background.js)

    Removed hardcoded default menu items.
    Updated loadSettings to ignore legacy prompt fields; uses customContextMenus.
    Refined onChanged listener to respond only to customContextMenus.
    Simplified onClicked: now processes only custom items.
    Improved extractYouTubeVideoId and extractLoadUrl: extract one ID/URL based on user preference. Prevents incorrect parameters.
    Added per-menu source dropdowns in UI.
    Dynamic tooltips explain each option with info icons.


    User Experience

    All changes saved instantly—no manual action needed.
    "Settings saved!" toast confirms updates.
    Cleaner, more intuitive interface: focus on customization without save steps.
    Full control over all context menu items, including former defaults.


    Backward Compatibility

    Existing prompts migrate automatically on update.
    Exported/imported settings convert legacy prompts during import.
    All other features work as before.

    源代码遵循 MIT 许可证 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 2.1.0

    发布于 2025年11月3日 - 21.87 KB
    适用于 firefox 58.0 及更高版本
    Changelog - Version 2.1.0

    New Features
    • Increased Custom Context Menu Items: Expanded from 2 to 8 custom context menu items (total of 10 prompts)
    • Dark Mode Toggle: Added a dark mode toggle switch beside the OpenWebUI Context Menu Settings title in options page
    • Enhanced Export/Import Functionality: Improved handling for exporting and importing settings with up to 8 custom context menus

    Improvements
    • User Experience: Better UI organization and clearer labeling of features
    • Settings Management: Enhanced capability to manage more custom prompts and configurations
    • Code Structure: Refactored code to support the increased number of custom menu items

    Bug Fixes
    • Context Menu Limitation Issue: Fixed error that was preventing addition of second custom context menu item (now allows up to 8)
    • Feature Toggle Saving: Fixed issue where feature toggles for custom context menu items were not being saved properly after page refresh
    • Data Handling: Improved handling of settings data for all custom context menus during export/import operations

    Breaking Changes

    None - All existing functionality remains compatible with previous versions. Settings from v2.0 will be automatically migrated.

    Notes

    This update significantly expands the customization capabilities of the extension while maintaining full backward compatibility.

    源代码遵循 MIT 许可证 发布

    下载文件
  • 版本 2.0.1

    发布于 2025年10月18日 - 21.38 KB
    适用于 firefox 58.0 及更高版本
    OpenWebUI Context Menu – Version 2.0

    Highlights
    • Custom Context Menu Items – Added ability to create unlimited custom context menu items with their own prompts and settings
    • Rename Default Items – Users can now rename the default "Ask OpenWebUI (Prompt 1)" and "Ask OpenWebUI (Prompt 2)" menu items
    • New "Add New" Button – Added a dedicated button in options to create new custom context menu items
    • Maximum 2 Custom Items – Limit of 2 custom context menu items to maintain usability (total of 4 prompts: 2 defaults + 2 custom)
    • Delete Functionality – Users can delete custom context menu items (default items cannot be deleted)
    • Persistent Settings – All new features are saved in the existing settings structure and exported/imported with JSON

    Options UI (options.html + options.js)
    • Added "Add New Context Menu Item" button to create custom prompts
    • Custom context menus now have their own dedicated configuration section
    • Each custom menu item has:
    • Configurable title/name
    • Custom prompt template
    • Individual parameter settings (models, tools)
    • Feature toggle settings (web-search, code-interpreter, etc.)
    • Added delete functionality for custom items
    • All existing functionality remains unchanged

    Storage schema
    • No changes to core storage structure
    • New customContextMenus array added to store custom menu configurations
    • Each custom menu item includes:
    • Unique ID
    • Title/name
    • Prompt template
    • Settings object with parameters and feature toggles
    • Exported JSON now includes all custom context menus

    User experience
    • Users can create up to 2 additional context menu items beyond the defaults
    • Custom items appear in the right-click context menu alongside default items
    • All settings are preserved when saving, exporting, or importing
    • Default items cannot be deleted but can be renamed via their title field

    Backward Compatibility
    • Existing installations will not be affected by this update
    • All previous functionality continues to work exactly as before
    • Exported settings from v2.0 can be imported into any future version that supports the format

    源代码遵循 MIT 许可证 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。