Skip to content

Commit 57ca373

Browse files
authored
Update contentScript.js
1 parent bbdbb2d commit 57ca373

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/extension/contentScript.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ window.addEventListener('message', msg => {
77
if (msg.data.action !== 'contentScriptStarted' && firstMessage) {
88
// since contentScript is run everytime a page is refreshed
99
// tell the background script that the tab has reloaded
10-
console.log('before sending tabReload');
1110
chrome.runtime.sendMessage({ action: 'tabReload' });
1211
firstMessage = false;
1312
}
1413

1514
// post initial Message to npm package
1615
const { action } = msg.data;
17-
console.log('before sending recordsnap');
1816
if (action === 'recordSnap') chrome.runtime.sendMessage(msg.data);
1917
});
2018

0 commit comments

Comments
 (0)