[Solved] Display an alert visible if the user is using the web or not
Based on the link you’ve shared, if you want a popup over any desktop application through the browser, use the W3C Notification API. For example window.onload = function () { if (Notification.permission !== “granted”) Notification.requestPermission(); }; function notifyMe() { if (!Notification) { alert(‘Desktop notifications not available in your browser. Try Chromium.’); return; } if (Notification.permission … Read more