|
@@ -126,7 +126,6 @@ function _visitNode(node, callback) {
|
126
|
126
|
//
|
127
|
127
|
// Required by:
|
128
|
128
|
// - jQuery
|
129
|
|
- // - lib-jitsi-meet/modules/RTC/adapter.screenshare.js
|
130
|
129
|
// - Strophe
|
131
|
130
|
if (typeof global.document === 'undefined') {
|
132
|
131
|
const document
|
|
@@ -151,14 +150,6 @@ function _visitNode(node, callback) {
|
151
|
150
|
document.cookie = '';
|
152
|
151
|
}
|
153
|
152
|
|
154
|
|
- // document.implementation
|
155
|
|
- //
|
156
|
|
- // Required by:
|
157
|
|
- // - jQuery
|
158
|
|
- if (typeof document.implementation === 'undefined') {
|
159
|
|
- document.implementation = {};
|
160
|
|
- }
|
161
|
|
-
|
162
|
153
|
// document.implementation.createHTMLDocument
|
163
|
154
|
//
|
164
|
155
|
// Required by:
|
|
@@ -362,26 +353,9 @@ function _visitNode(node, callback) {
|
362
|
353
|
const { navigator } = global;
|
363
|
354
|
|
364
|
355
|
if (navigator) {
|
365
|
|
- // platform
|
366
|
|
- //
|
367
|
|
- // Required by:
|
368
|
|
- // - lib-jitsi-meet/modules/RTC/adapter.screenshare.js
|
369
|
|
- if (typeof navigator.platform === 'undefined') {
|
370
|
|
- navigator.platform = '';
|
371
|
|
- }
|
372
|
|
-
|
373
|
|
- // plugins
|
374
|
|
- //
|
375
|
|
- // Required by:
|
376
|
|
- // - lib-jitsi-meet/modules/RTC/adapter.screenshare.js
|
377
|
|
- if (typeof navigator.plugins === 'undefined') {
|
378
|
|
- navigator.plugins = [];
|
379
|
|
- }
|
380
|
|
-
|
381
|
356
|
// userAgent
|
382
|
357
|
//
|
383
|
358
|
// Required by:
|
384
|
|
- // - lib-jitsi-meet/modules/RTC/adapter.screenshare.js
|
385
|
359
|
// - lib-jitsi-meet/modules/browser/BrowserDetection.js
|
386
|
360
|
let userAgent = navigator.userAgent || '';
|
387
|
361
|
|