Provides custom LingQ layouts
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Meaning of the selected word/sentence is copyed to clipboard.
Improved formatting of bot messages in the chat widget by changing the prompt. Add a filter that filters TTS requests with more than 1000 characters of text.
Add customizable keyboard shortcuts.
Update CSS variables and styles for better video player in the audio layout.
Enhance DOM traversal for leaf nodes and safeguard audio context state. Fix bug related to the reference word changing.
Optimized DOM element checks using matches. Fixed the bug related to the reference word changing.
Fixed the issue where the characters (`.`, `,`, `?`, and `\n`) were omitted from the selected text.
Improved styles. Prevented the TTS audio could being played multiple times at the same time.
Added chat widget for all widgets. Added a loading message while a bot message is loading.
Added widgetWidth slider, Refined CSS variable naming.
Refine the chat widget styles. Make a keyboard shortcuts for the chat widget (esc). Refined the prompt for more aesthetic and structured output.
Removed the scroll bar of the chat widget container, and changed the size of that.
Decreased the volume of the TTS. Modified the selector of the word to select words also. Modified the chat widget prompt. Added more model options Disabled the thinking option for the gemini model.
Modified the prompt for the chat widget.
Updated the CSS for clearer UI elements.
Separated the logic of the widget and the TTS. Modified the prompt. Fixed the bug that the TTS and the chatbot widget are not reloaded when selecting a sentence while selecting another one.
Enhanced the prompts, fixed the bugs related to the tts.
Added an AI-based TTS option.
Rewrote the system prompt. Make gemini use system prompt.
Changed the default model. Made the "off mode" also affected by the style settings.Refactored the ChatWidget code. Added the checkbox for enabling/disabling the chat widget.
Changed the default model. Made the "off mode" also affected by the style settings.
Provide a chatbot widget.
Modified the finish lesson condition.
Provide the ratio of both LingQ and KnownWords of a lesson.
Refactored the setupCourse function.
Refactored the setupSliderObserver function.
The lesson's progress is updated according to the progress of the video.
Disable video closing when pressing the ESC key while typing.
Fixed a bug in the toast pop-up.
Encapsulated the download function call with a handler.
Updated progress bar texts
You can download every known/unknown word/LingQs.
Added the download words popup. You can download every known word.
Fixed a bug in the video header selector.
Fixed the bugs related to the style/color mode selector event listeners.
Fixed the popup(lesson info, setting, etc.)-related issues.
Adjusted the scroll offset
Fixed scroll-related issue
Fixed z-index-related bug
顯示所有腳本版本