From 5e579631925e83e791efcebd3325889e086c2ed1 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Tue, 4 May 2021 10:54:28 +0200 Subject: [PATCH] Check if user is online --- index.html | 22 +++++++++++++++++++++- main.js | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 28bcb01..66e3729 100644 --- a/index.html +++ b/index.html @@ -63,5 +63,25 @@ - +

+ \ No newline at end of file diff --git a/main.js b/main.js index 0bc6535..86a7c55 100644 --- a/main.js +++ b/main.js @@ -40,7 +40,7 @@ app.whenReady().then(() => { session .fromPartition("some-partition") .setPermissionRequestHandler((webContents, permission, callback) => { - const url = webContents.getURL(); + const url = webContents.getURL(); //unused? if (permission === "notifications") { // Approves the permissions request