summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-04-27 13:32:35 +0200
committerRaindropsSys <contact@minteck.org>2023-04-27 13:32:35 +0200
commitade37c5b0ad6dc2c61be1efb5421862321ace805 (patch)
treeef0310a032fe9b9757dce3f9b15c7867b12cae2c /index.html
parent3661eadc63e4d2a240f88c18c4d50d12956d7223 (diff)
downloaddelta-kiosk-ade37c5b0ad6dc2c61be1efb5421862321ace805.tar.gz
delta-kiosk-ade37c5b0ad6dc2c61be1efb5421862321ace805.tar.bz2
delta-kiosk-ade37c5b0ad6dc2c61be1efb5421862321ace805.zip
Updated 4 files (automated)
Diffstat (limited to 'index.html')
-rw-r--r--index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.html b/index.html
index c191504..9ace65f 100644
--- a/index.html
+++ b/index.html
@@ -211,6 +211,11 @@
window.authApprovalInterval = setInterval(async () => {
let data = JSON.parse(await (await window.fetch(server + "/dev.equestria.delta.kiosk.CheckApproved/?id=" + window.authId)).text());
if (data['token']) {
+ remote.webContents.fromId(document.getElementById("webview").getWebContentsId()).setWindowOpenHandler((details) => {
+ return {
+ action: 'deny'
+ };
+ });
remote.webContents.fromId(document.getElementById("webview").getWebContentsId()).session.cookies.set({
url: "https://delta.equestria.dev",
name: "DeltaLanguage",