-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwebrtcperf.user.js
More file actions
24 lines (24 loc) · 1013 Bytes
/
Copy pathwebrtcperf.user.js
File metadata and controls
24 lines (24 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// ==UserScript==
// @name webrtcperf-js
// @namespace https://github.com/vpalmisano/webrtcperf-js
// @version 1.5.0
// @updateURL https://raw.githubusercontent.com/vpalmisano/webrtcperf-js/refs/heads/main/webrtcperf.user.js
// @downloadURL https://raw.githubusercontent.com/vpalmisano/webrtcperf-js/refs/heads/main/webrtcperf.user.js
// @description WebRTC Perf javascript browser library
// @author Vittorio Palmisano
// @match https://*/*
// @run-at document-start
// @icon https://raw.githubusercontent.com/vpalmisano/webrtcperf/refs/heads/devel/media/logo.svg
// @resource webrtcperf.js https://unpkg.com/@vpalmisano/webrtcperf-js@1.5.0/dist/webrtcperf.js
// @grant GM_getResourceText
// @grant GM_addElement
// ==/UserScript==
try {
GM_addElement('script', {
textContent: GM_getResourceText('webrtcperf.js'),
type: 'text/javascript',
id: 'webrtcperf-js',
});
} catch (e) {
console.error('Error loading webrtcperf.js', e);
}