aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/skype/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/skype/webview.js')
-rw-r--r--recipes/skype/webview.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/skype/webview.js b/recipes/skype/webview.js
index 45bc005..c401b06 100644
--- a/recipes/skype/webview.js
+++ b/recipes/skype/webview.js
@@ -50,6 +50,12 @@ module.exports = (Ferdium, settings) => {
50 event.preventDefault(); 50 event.preventDefault();
51 event.stopPropagation(); 51 event.stopPropagation();
52 52
53 if (url.includes('api.asm.skype.com')) {
54 // Always open file downloads in Ferdium, rather than the external browser
55 window.location.href = url;
56 return;
57 }
58
53 if (settings.trapLinkClicks === true) { 59 if (settings.trapLinkClicks === true) {
54 window.location.href = url; 60 window.location.href = url;
55 } else { 61 } else {