We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e913cf8 commit fb8d80cCopy full SHA for fb8d80c
1 file changed
src/pkg/utils/wakeup-ping.ts
@@ -16,10 +16,6 @@ export const startRepetitivePing = () => {
16
let counter = 0;
17
let isMutationPending = false;
18
19
- const customPingHandler = (e: Event) => {
20
- chrome.storage.session.set({ persistentWakeup: `${e.timeStamp}` });
21
- };
22
-
23
const pingNode = document.createComment("0");
24
25
const incrementCounter = () => {
@@ -30,8 +26,6 @@ export const startRepetitivePing = () => {
30
26
}
31
27
};
32
28
33
- pingNode.addEventListener("custom-ping", customPingHandler);
34
35
29
const pingTask = async () => {
36
channel.postMessage({});
37
incrementCounter();
0 commit comments