Simple Google Chrome browser extension that adds a context menu to search YouTube for selected text on a webpage. Just highlight the text, right click and choose 'Search YouTube for'. Selected query will be passed to YouTube's search page in a new browser tab.
To install the extension locally for development:
-
Clone the repository:
git clone https://github.com/w431/chrome-extension-search-youtube-selected-text.git cd chrome-extension-search-youtube-selected-text
-
Install dependencies:
npm install
-
Build the project:
npm run build
-
Load the extension in Chrome:
- Open Chrome and go to
chrome://extensions/
. - Enable "Developer mode" at the top right.
- Click on "Load unpacked" and select the
dist
folder from your project directory.
- Open Chrome and go to
- English
- French
- Arabic
Feel free to translate this extension to your language. Contributions are welcome!
This project is licensed under the MIT License.
Contributions are welcome! Feel free to submit pull requests or open issues.