Skip to content

Commit

Permalink
Allow activating GhostText by right clicking on fields (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
mavit authored Apr 8, 2021
1 parent 8018eaa commit 3e200f1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ function init() {
}
});

chrome.contextMenus.create({
id: 'start-gt-editable',
title: 'Activate GhostText on field',
contexts: ['editable'],
onclick: handleAction
});

chrome.browserAction.setBadgeBackgroundColor({
color: '#008040'
});
Expand Down

0 comments on commit 3e200f1

Please sign in to comment.