Easily query selected text on any URLs.
Select Search Extension
Extension Overview:
This extension allows you to search selected (highlighted) text using custom shortcut keys. You can configure up to five shortcut keys, each associated with a URL of your choice. When a shortcut key is pressed, the selected text is appended to the corresponding URL, and a new tab opens with the search results. Additionally, you can use the right-click context menu to choose from even more search options.
How to Use:
1. Highlight the text you'd like to search.
2. Press the designated shortcut key or right-click to choose a search option.
3. A new tab of the corresponding URL with the highlighted text appended will be opened.
How to configure URLs:
1. Access the extension's options page.
2. Add or modify your preferred URLs.
3. The topmost five URLs will correspond to the shortcut keys, which you can assign in the next step.
How to assign shortcut keys:
1. Open Chrome's \"Manage Extensions\" page.
2. Navigate to \"Keyboard Shortcuts\" and find this extension.
3. Configure up to five shortcut keys.
Note:
This is my first extension, so please let me know if you encounter any bugs or issues. Your feedback is greatly appreciated!
Read more
This extension allows you to search selected (highlighted) text using custom shortcut keys. You can configure up to five shortcut keys, each associated with a URL of your choice. When a shortcut key is pressed, the selected text is appended to the corresponding URL, and a new tab opens with the search results. Additionally, you can use the right-click context menu to choose from even more search options.
How to Use:
1. Highlight the text you'd like to search.
2. Press the designated shortcut key or right-click to choose a search option.
3. A new tab of the corresponding URL with the highlighted text appended will be opened.
How to configure URLs:
1. Access the extension's options page.
2. Add or modify your preferred URLs.
3. The topmost five URLs will correspond to the shortcut keys, which you can assign in the next step.
How to assign shortcut keys:
1. Open Chrome's \"Manage Extensions\" page.
2. Navigate to \"Keyboard Shortcuts\" and find this extension.
3. Configure up to five shortcut keys.
Note:
This is my first extension, so please let me know if you encounter any bugs or issues. Your feedback is greatly appreciated!
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Select Search", "description": "Easily query selected text on any URLs.", "version": "1.02", "permissions": [ "contextMenus", "activeTab", "storage", "scripting" ], "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "background": { "service_worker": "background.js", "type": "module" }, "commands": { "search-url-1": { "description": "Query the selected text on URL #1" }, "search-url-2": { "description": "Query the selected text on URL #2" }, "search-url-3": { "description": "Query the selected text on URL #3" }, "search-url-4": { "description": "Query the selected text on URL #4" }, "search-url-5": { "description": "Query the selected text on URL #5" } }, "options_ui": { "page": "index.html", "open_in_tab": true }}
Read more