Open MiTereKun opened 3 years ago
a bird whispered in my ear here - in Linux and KDE, text is inserted by clicking on the mouse wheel. In Windows, it seems, this function can be bound to a non-programmable mouse through the True X-Mouse Gizmo program. Is it possible to do something like this within the framework of your plugin? For example, clicking on a plugin activates such a fast mode. Clear the field with the right mouse button, insert text on the mouse wheel
And it worket in more modern mouse programmer - X-Mouse Button Control ('{ALT}D{CTRL}V') - just in tandem with your plugin
But this is for C ++ For a browser, my good friend rewrote a plugin that checks the clipboard and inserts text from it into the field containing hmtl surse https://vk.com/topic-117391361_33946726?post=1391 maybe this will help to implement exactly the visual button to insert the original text
upd very unexpectedly, this button is in the translator in the Yandex search engine, but it is no longer on the domain of the translation service https://yandex.ru/search/?lr=75&text=translate
I propose to create visual buttons for the 2 most important operations [clear field] & [paste from clipboard]
The likelihood of text content in the clipboard for translation is very high in any situation and for any user, therefore this button is extremely necessary
The button "clear field" exists in the original google translator interface, but in practice this button is too small. When more than 200 such insertion and cleanup operations are performed, it becomes extremely difficult to get into it.
It all started with the fact that this summer, Google has been blocking self-written api (parser for web page~) that various applications have used for internal translation, such as VNR.
explanation of the new error Google Translate
Rionit Tinoirovich today at 30 August 2020
At the expense of Google, he himself faced a similar problem. It's all to blame for the insight of Google, Google has a special apl for using the translator in third-party applications, but this is a paid one for a long time, 20 bucks for 1 characters. But smart people just made a parser for the translator's web page, and used it for free, and Google didn't do anything with it for a long time, in fact, I think vnr uses the same technology, I also use it to create machine translations. Only now, in case of suspicious activity, the translator's page throws out the reCAPTCHA check, and accordingly the translator will not work until you "pierce" the check. it's impossible to do this, that's all ... If Google does not change this (and it is unlikely to change it), then the only options are to use control with periodic server changes, or change your own ip address, but in any case, this will not be enough for a long time
Now, if the requests are exceeded, Google wants to receive an answer to the captcha, but the method used by such programs simply does not have the ability to display a captcha, not to mention the very answer to it. But these programs have the ability to automatically copy to the clipboard, and it will be very helpful to get a visual button on the translator's website for pasting information from the clipboard into the translator. Using the keyboard in such a situation is not necessary at all currently have to squeeze endlessly "ctrl+v" - it is overwhelmingly annoying after a week of using this method. Please help with this. Thanks