var newProspect = function(string){
chrome.tabs.executeScript(
{
code: "window.getSelection().toString(); ",
},
function (selection) {
var selectionText = selection[0]
}
);
};
chrome.contextMenus.create({
title: "New Prospect",
contexts: ["selection"],
onclick: newProspect,
});