MCPcopy Index your code
hub / github.com/MALSync/MALSync / contentAction

Function contentAction

src/background/messageHandler.ts:81–88  ·  view source on GitHub ↗
(message: content, sender, sendResponse)

Source from the content-addressed store, hash-verified

79}
80
81function contentAction(message: content, sender, sendResponse) {
82 chrome.tabs.sendMessage(sender.tab.id, {
83 action: 'content',
84 item: message.item,
85 sender,
86 });
87 return undefined;
88}
89
90function videoTimeSetAction(message: videoTimeSet, sender, sendResponse) {
91 if (!message.sender?.tab?.id) return undefined;

Callers 1

messageHandlerFunction · 0.85

Calls 1

sendMessageMethod · 0.80

Tested by

no test coverage detected