diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 9a97954d..04ed9591 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -117,6 +117,11 @@ Ext.define('Rambox.ux.WebView',{ // Open links in default browser webview.addEventListener('new-window', function(e) { + // hack to fix multiple browser tabs on Skype link click, re #11 + if (e.url === 'https://web.skype.com/en/undefined') { + console.log(e); + return; + } const protocol = require('url').parse(e.url).protocol; if (protocol === 'http:' || protocol === 'https:' || protocol === 'mailto:') { e.preventDefault();