diff --git a/src/webui/www/private/scripts/client.js b/src/webui/www/private/scripts/client.js index 826228738..5aae7b2cb 100644 --- a/src/webui/www/private/scripts/client.js +++ b/src/webui/www/private/scripts/client.js @@ -967,7 +967,10 @@ window.addEvent('load', function() { function registerMagnetHandler() { if (typeof navigator.registerProtocolHandler !== 'function') { - alert("Your browser does not support this feature"); + if (window.location.protocol !== 'https:') + alert(QBT_TR("To use this feature, the WebUI needs to be accessed over HTTPS")QBT_TR[CONTEXT=MainWindow]); + else + alert(QBT_TR("Your browser does not support this feature")QBT_TR[CONTEXT=MainWindow]); return; }