Skip to content

Commit

Permalink
Add network type
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Sep 17, 2024
1 parent e3cb5b3 commit 05d3230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function startProcess() {
gui_log(i18n.getMessage('infoVersionConfigurator', { configuratorVersion: CONFIGURATOR.getDisplayVersion() }));

if (navigator.connection) {
console.log(`[ISP] Network connection type: ${navigator.connection.type}`);
console.log(`[ISP] Effective network type: ${navigator.connection.effectiveType}`);
console.log(`[ISP] Downlink Speed: ${navigator.connection.downlink}Mb/s`);
console.log(`[ISP] Round Trip Time: ${navigator.connection.rtt}ms`);
Expand Down

0 comments on commit 05d3230

Please sign in to comment.