diff --git a/guest.html b/guest.html new file mode 100644 index 000000000..4c391189e --- /dev/null +++ b/guest.html @@ -0,0 +1,2248 @@ + + + + + + + + + + + + + + + + + VDO.Ninja + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
Not Visible +
+ +
+
+
+ + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + diff --git a/guest.js b/guest.js new file mode 100644 index 000000000..1b5c58e34 --- /dev/null +++ b/guest.js @@ -0,0 +1,29 @@ +// Remove all urlParams + +//urlParams = [] +const removeParams = [ + 'director', + 'fileshare', + 'host' +] + +removeParams.forEach((param) => { + if (urlParams.has(param)) { + urlParams.delete(param) + } +}) + +const appendParam = [ + 'view' +] + +appendParam.forEach((param) => { + if (!urlParams.has(param)) { + urlParams.append(param, '') + } +}) + +if (!urlParams.has('room')) { + urlParams.append('room', 'testroom') +} +