Skip to content

Commit

Permalink
Twitter link
Browse files Browse the repository at this point in the history
  • Loading branch information
mastef committed Jun 22, 2020
1 parent 58aa32e commit 72b9082
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,14 @@ async function setupListeners() {
browser.tabs.create({ url: 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=67TZLSEGYQFFW' });
} });

browser.contextMenus.create({
title: "🐦 Follow on Twitter",
"contexts": ["browser_action"],
parentId: "support_menu",
onclick: function onclick(info, tab) {
browser.tabs.create({ url: 'https://www.twitter.com/mastef' });
} });

browser.contextMenus.create({
title: "🤔 Issues and Suggestions",
id: "code_menu",
Expand Down

0 comments on commit 72b9082

Please sign in to comment.