Skip to content

Instantly share code, notes, and snippets.

@jura-van
Created April 13, 2019 20:14
chrome.browserAction.onClicked.addListener(function (tab) {
chrome.tabs.query({active: true, currentWindow: true}, function (tabs) {
var activeTab = tabs[0];
chrome.tabs.sendMessage(activeTab.id, {"message": "clicked_feedly_unique"});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment