MultiLine Text Selection

Make, copy, and search multiple concurrent text selections.

What is MultiLine Text Selection?

MultiLine Text Selection is a Chrome extension developed by DNishanth, and its main feature is "Make, copy, and search multiple concurrent text selections.".

Extension Screenshots

screenshot
screenshot
screenshot
screenshot

Download MultiLine Text Selection Extension CRX File

Download MultiLine Text Selection extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        Make multiple noncontiguous text selections at a time in webpages. Text can be copied to clipboard through ctrl+c or the right-click copy option. You can also search your text on Google, YouTube, and Wikipedia through the right click selection menu.

Usage
Make additional text selections while holding down ctrl. Clear all selections by clicking without holding ctrl. Undo the most recent selection with ctrl+z. On Macs, use cmd instead of ctrl. 

Lock selections with ctrl+shift+L. When selections are locked, they will not disappear when left-clicking. This prevents accidentally clicking out and clearing your selections. While locked, ctrl/cmd is not needed to make selections. Leave locked mode and clear all highlighted text by pressing ctrl+shift+L again.

Right click any selection for search options. Select MultiSearch to open a search tab for each selection. Select CombinedSearch to open a single search tab for each selection separated by a space. Right click the extension icon in the Chrome toolbar (top-right of the browser) and select options to enable or disable the context menu search options.

Select the extension icon to toggle copy options. If 'Copy With Newline' is selected, each selection will be separated by a newline when copying. If 'Copy With Spaces' is selected, each selection will be separated by spaces when copying. If 'Copy With Bullets' is selected, each selection will be copied as a bullet point.

Notes
- The extension is automatically disabled by Chrome in the store description. Try it out on other sites.
- Refresh any current tabs when first installing to activate the extension on those pages. This is not necessary for new tabs.
- When selecting separate words throughout a web page, you can double-click while holding ctrl instead of dragging to select.
- When making overlapping selections, ctrl+z will remove the combined selection.
- Selections are sent to the clipboard and searched in the order they are selected.
- Copied selections will be in plain text.
- A single selection containing text on separate lines will be treated as multiple selections when MultiSearching. This keeps you from having to individually select multiple lines that are grouped together.

Updates
- 3/23/21: Removed unused clipboardWrite permission
- 4/15/19: Swapped ctrl with cmd for Mac users
- 5/1/19: Added selection lock with shift+L, see usage for details
- 5/11/19: Replaced shift-L with ctrl+shift+L to prevent accidental activation
- 5/18/19: Added search options for YouTube and Wikipedia
- 6/22/19: Made selections crossing multiple bullets, lines, and hyperlinks possible. Fixed copy options reverting on new pages.
- 7/12/19: Fixed bug where undoing with an active selection would expand the selection instead of removing
- 9/8/19: Users no longer need to hold down ctrl for the first selection. Only additional selections need to be made with ctrl. Fixed bug where search options wouldn't appear the first time in the context menu. Fixed bug when clearing a single selection.
- 9/28/19: Fixed bug where keyboard shortcuts for copying on Google Sheets would fail. Fixed bug when clearing selections in locked mode.
- 10/2/19: Selections are now draggable

Issues
- Selections made on dynamic content sometimes have problems while copying
- Selections crossing multiple elements can rarely include collapsed text.
- Some types of selections cannot be copied or searched. Undo such a selection or refresh to continue.
- Selections are rarely not cleared after clicking. Re-select the text and clear, or refresh the page if this happens.

Privacy
This extension does not collect any information. All data used in this extension is stored locally and temporarily, on the user's computer. The extension's code can be viewed in the linked GitHub repository.                    

Extension Basic Information

Name MultiLine Text Selection MultiLine Text Selection
ID ajbomhojbckleofgngogoecoaefclnol
Official URL https://chromewebstore.google.com/detail/multiline-text-selection/ajbomhojbckleofgngogoecoaefclnol
Description Make, copy, and search multiple concurrent text selections.
File Size 68.36 KB
Installation Count 9,158
Current Version 14
Last Updated 2023-09-05
Publish Date 2019-10-02
Rating 3.66/5 Total 61 Ratings
Developer DNishanth
Email [email protected]
Payment Type free
Extension Website https://github.com/DNishanth/MultiLine-Text-Selection
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "MultiLine Text Selection",
    "version": "14",
    "description": "Make, copy, and search multiple concurrent text selections.",
    "background": {
        "service_worker": "background.js"
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "exclude_matches": [
                "https:\/\/docs.google.com\/spreadsheets*"
            ],
            "run_at": "document_idle",
            "js": [
                "rangy-core.js",
                "rangy-classapplier.js",
                "rangy-highlighter.js",
                "contentScript.js"
            ]
        }
    ],
    "action": {
        "default_title": "Copy Options",
        "default_popup": "options.html",
        "default_icon": {
            "16": "images\/icon16.png"
        }
    },
    "options_page": "settings.html",
    "icons": {
        "48": "images\/icon48.png",
        "128": "images\/icon128.png"
    },
    "permissions": [
        "contextMenus",
        "activeTab",
        "storage"
    ]
}