"Select2Prompt" is a Chrome extension designed to enhance your productivity by providing an instant copy feature for selected text directly into a designated textarea, coupled with a smart prompt functionality that focuses on the last line, ready for your next input.
- Instant Copy: Simply select text on any webpage (except the designated textarea) and it will automatically be transferred to the designated textarea, streamlining your text transfer process.
- Prompt: After the transfer, the focus automatically shifts to the last line of the textarea, setting a convenient starting point for your next entry.
- Install the Extension: Download and install "Select2Prompt" from the Chrome Web Store.
- Designate a Textarea: On your webpage, designate a textarea with the ID
prompt-textarea
to receive the transferred text. - Select Text: Highlight the text you wish to transfer on any webpage.
- Automatic Transfer: The selected text will automatically appear in the designated textarea, with the cursor positioned on the last line, ready for your next entry.
To set up the designated textarea on your webpage, add a textarea element with the ID prompt-textarea
:
<textarea id="prompt-textarea"></textarea>
To install the extension, follow these steps:
- Clone or download the repository to your local system.
- Open the Chrome browser and navigate to
chrome://extensions/
. - Enable
Developer mode
. - Click on
Load unpacked
and select the folder containing the extension files. - The extension is now installed and ready to use.
Feel free to contribute to this project by reporting issues or submitting pull requests. Your feedback and contributions are highly appreciated.