Skip to content

Commit

Permalink
Merge pull request #231 from TheWebTech/beta
Browse files Browse the repository at this point in the history
Catch Master up to Beta
  • Loading branch information
TheWebTech authored Sep 14, 2019
2 parents 913760b + a58a681 commit bb6a337
Show file tree
Hide file tree
Showing 12 changed files with 851 additions and 104 deletions.
20 changes: 19 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,26 @@ chrome.runtime.onMessage.addListener(
trackClick(request.trackClick);
sendResponse({ farewell: "Tracked!" });
}
});
}
);

/*
chrome.runtime.onConnect.addListener(function(devToolsConnection) {
// assign the listener function to a variable so we can remove it later
var devToolsListener = function(message, sender, sendResponse) {
// Inject a content script into the identified tab
console.log("script:",message.scriptToInject);
chrome.tabs.executeScript(message.tabId,
{ file: message.scriptToInject });
}
// add the listener
devToolsConnection.onMessage.addListener(devToolsListener);
devToolsConnection.onDisconnect.addListener(function() {
devToolsConnection.onMessage.removeListener(devToolsListener);
});
});
*/


chrome.commands.onCommand.addListener(function(command) {
Expand Down
82 changes: 82 additions & 0 deletions clipboard.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bb6a337

Please sign in to comment.