Skip to content

eboraks/icognition-chrome-extension

Repository files navigation

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

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Open the side panel UI
  4. Choose the "Dictionary side panel".

Dictionary side panel

  1. Go to https://developer.chrome.com/docs/extensions/
  2. Right-click on the "Extensions" word.
  3. Choose the "Define" context menu

You should see the definition on the side panel

Dictionary extension context menu

Chrome Developer Dashboard

  1. https://chrome.google.com/webstore/developer/dashboard
  2. Register as non-trade for now

Icons link: Info icon by Icons8

Chrome Extension Authentication

The Chrome extenstion authentication was done using this guide: https://firebaseopensource.com/projects/firebase/quickstart-js/auth/chromextension/readme/ -- Please note that GCP credential and Chrome Store are under the icognition account.

Adding users

Because the icognition allow is a public application, it need to go through approval process. For now, users with non icognition account needs to be added here: https://console.cloud.google.com/apis/credentials/consent?project=stg-icognition&supportedpurview=project

Todo

  1. Get new 128x128 icon for the Chrome store - https://www.fiverr.com/inbox/zera93
  2. Improve the concent from in GCP Credential to include privacy statement.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published