mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* Init commit * Add sidepanel open cookbook * Add minimum chrome version * Add 116 on readme * Add extension page Add content script * Tweak * Tweak 2 * ¯\_(ツ)_/¯ * Update readme * Update readme * Change sample name in Readme * Bold Chrome 116 for emphasis * Typo fix
Dictionary Side panel example
This example allows users to right-click on a word and see the definition on the side panel using the Side Panel API.
NOTE: This example only defines the word extensions and popup.
Running this extension
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Open the side panel UI
- Choose the "Dictionary side panel".
- Go to https://developer.chrome.com/docs/extensions/
- Right-click on the "Extensions" word.
- Choose the "Define" context menu
You should see the definition on the side panel