//(function(chrome) {
//    console.log('clicked on - ' + new Date());
//
//    chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
//        chrome.tabs.sendMessage(tabs[0].id, {greeting: "hello"}, function(response) {
//            if (response) {
//                console.log(response.farewell);
//            }
//        });
//    });
//}(chrome));
chrome.browserAction.onClicked.addListener(function (tab) { //Fired when User Clicks ICON
    console.log('clicked on - ' + new Date());

    chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
        chrome.tabs.sendMessage(tabs[0].id, {message: "start wishi extension"}, function(response) {
            if (response) {
                console.log(response.message);
            }
        });
    });
});
@@ -1,377 +1,74 @@
 //
-(function(chrome) %7B%0A//    console.log('clicked on - ' + new Date());%0A//%0A//    chrome.tabs.query(%7Bactive: true, currentWindow: true%7D, function(tabs) %7B%0A//        chrome.tabs.sendMessage(tabs%5B0%5D.id, %7Bgreeting: %22hello%22%7D, function(response) %7B%0A//            if (response) %7B%0A//                console.log(response.farewell);%0A//            %7D%0A//        %7D);%0A//    %7D);%0A//%7D(chrome));
+We'll send a message to the content script that the icon was clicked
 %0Achr
@@ -117,19 +117,16 @@
 nction (
-tab
 ) %7B //Fi
@@ -155,56 +155,8 @@
 CON%0A
-    console.log('clicked on - ' + new Date());%0A%0A
     

Remove not needed comments and logs