Open h2y opened 1 year ago
@jlesage When using the Firefox container, it is necessary to read and write the clipboard through the input box. Since there is no Chinese input method in the container, this is a frequent operation for Chinese users. When JS detects changes in the input box, it sends the content to the container. The change event is triggered only when the input box loses focus, whereas the input event can immediately trigger the event when the content changes. This greatly enhances the user experience.
But don't you need to perform a paste operation (e.g. ctrl+v) inside the container ? This operation would trigger the focus lost event.
@jlesage By using some additional scripts, it can automatically input the text in the clipboard in the browser, so don't have to paste it manually in that case. (You can consider it as a feature built into the FF container) 😄 https://github.com/jlesage/docker-firefox/issues/146#issuecomment-1484854187
Can you provide more details about this change ?