From 1086848f7891c88b6d1ce13c0f41bb4bc196d1e6 Mon Sep 17 00:00:00 2001 From: Steve Seguin Date: Wed, 14 Apr 2021 04:26:51 -0400 Subject: [PATCH] Add files via upload Support for Electron Capture 1.5.0 screen-capture --- electron.html | 3 ++ index.html | 8 ++-- main.css | 61 +++++++++++++++++++++++ main.js | 130 ++++++++++++++++++++++++++++++++++++++++---------- webrtc.js | 2 +- 5 files changed, 175 insertions(+), 29 deletions(-) diff --git a/electron.html b/electron.html index a12ff59..b021e7a 100644 --- a/electron.html +++ b/electron.html @@ -359,6 +359,9 @@ function modURL(ele=false){ } function gohere(){ var url = modURL(true); + if (!(document.getElementById('changeText').value.includes("obs.ninja")) && (document.getElementById('changeText').value.includes("http")) && (document.getElementById('changeText').value.includes("&sink"))){ + alert("Notice: The &sink command is domain specific.\nVisit https://YOURDOMAIN.com/electron instead."); + } window.location = url; }; getPermssions(); diff --git a/index.html b/index.html index 5a43c68..6f92a23 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@ } - + @@ -66,8 +66,8 @@ - - + +