raymondmars / chatgpt-chrome-translate-plugin

ChatGPT Chrome Translation Plugin
https://chromewebstore.google.com/detail/chatgpt-translation-bot/fglemdfemikhijpgojdobdgplbcfomdf
24 stars 5 forks source link

X Special support - Twitter [Req] #39

Closed maurobotta closed 2 months ago

maurobotta commented 3 months ago

Hi @raymondmars , see image, is possible translate without MOUSE SELECTION ?

For example in Twitter/x , i move mouse in a Twitter ( No selection text !! ) and press Q key for activate Your Plugin

Translate ALL text of 1 twitter ^_^

It could be a game changer for using your plugin :)

image
raymondmars commented 3 months ago

@maurobotta It is a nice idea, but it is a little conflicting with the current mode. Let me think about it and how to place this requirement. if you have any insights, welcome to comment here.

maurobotta commented 2 months ago

The Twitter speech is just one example; it's too limiting to translate a text (activate the plugin) AFTER selecting certain words.

I would like to scroll through ... Reddit ... hover over/select the active part of the page, and with just one key... get the translation. The plugin would be much more useful than it is now.

raymondmars commented 2 months ago

@maurobotta I will add a new mode. Under this mode, you can translate text that your mouse hovered by a shortcut key. the mode is off by default. we can see the selecting text and the hovering text as two modes. You can only use one mode at a time.

raymondmars commented 2 months ago

@maurobotta The new features from 1.2.4 have implemented this requirement. You can wait for the update from Chrome.

It supports two ways to select the text that you want to translate.

(1) Mouse Selection (default) - Use the mouse to select text.

(2) Hover Over Text - When the mouse hovers over the text, these contents will be selected automatically.

Note: Since this is a feature that can easily cause page clutter, a shortcut key is provided to turn this feature on or off. This feature is turned off by default even when this mode is selected. It would be best to press this shortcut key to enable this feature. Pressing this shortcut key again after turning it on will turn it off.