From 72b90821a208c5319b3baf1e0f3c4fa43eb8d203 Mon Sep 17 00:00:00 2001 From: Markus Stefanko Date: Mon, 22 Jun 2020 07:54:16 +0700 Subject: [PATCH] Twitter link --- lib/background.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/background.js b/lib/background.js index f4e6cd8c..fd60beac 100644 --- a/lib/background.js +++ b/lib/background.js @@ -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",