Commit d87c89e5 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Set linkText as share title

At least Firefox gives us the label of the link we're about to share
parent f4aa77a2
......@@ -67,6 +67,9 @@ chrome.contextMenus.onClicked.addListener((info) => {
shareData.text = selection;
} else if (url) {
shareData.url = url;
if (info.linkText) {
shareData.title = info.linkText;
// We probably shared the current page, add its title to shareData
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment