Context: I've always liked reading about random things I find or find interesting on the internet in Wikipedia, but up until now, I'd have to search everything I found in google manually, and then go to Wikipedia. That got me thinking about a lazier efficient way to be able to open Wikipedia pages straight from the browser window. This would eventually become the idea for this project.
Chrome Web Extension built in TypeScript using Chrome API. Simple way to open highlighted text as a Wikipedia article from right click menu or configurable keyboard shortcut.
Currently under review for publishing in Chrome Web Store! :D
-
At chrome://extensions, navigate to keyboard shortcuts.
-
Configure the shortcut to your preferred keybind. Configure for "WikiChrome Shortcut", NOT "Activate Extension".
-
Configure the chrome extension popup to set/unset your active tab as the newly opened tab.
-
You can now search highlighted text by using your keybind on highlighted text. You can also search it within the context menu of a right click. Unreachable results will result in no action.
For just an installation of the extension itself(if you want the file version instead of the Chrome Web Store download),
- download/clone the project, and locate the
dist
folder. - go to Chrome Extensions, and select load unpacked.
- select the
dist
folder as the unpacked folder. - Active Chrome Web Extension
- download/clone the project.
- run
cd WikiChrome
- run
npm install
- run
npm run build
- go to Chrome Extensions, and select load unpacked.
- select the
dist
folder as the unpacked folder. - Active Chrome Web Extension - Note that any changes made within the project itself will require a reload of the extension for changes to be reflected.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.