initial upload to git

This commit is contained in:
2021-04-14 17:42:07 +02:00
commit 9b6605fb69
20 changed files with 2398 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
chrome.runtime.onMessage.addListener(
function(request, sender, sendResponse) {
console.log(sender.tab ?
"from a content script:" + sender.tab.url :
"from the extension");
if (request.greeting == "raise")
// send message to native messaging host
//actually its a fake message, it only opens the ZoomRaiseHand Script
chrome.runtime.sendNativeMessage('de.joelbaldauf.jwconfzoomhand', { text: 'raisehand' });
});