diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/skype/package.json | 2 | ||||
-rw-r--r-- | recipes/skype/webview.js | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/recipes/skype/package.json b/recipes/skype/package.json index d056c3e..060ce34 100644 --- a/recipes/skype/package.json +++ b/recipes/skype/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "skype", | 2 | "id": "skype", |
3 | "name": "Skype", | 3 | "name": "Skype", |
4 | "version": "3.6.1", | 4 | "version": "3.6.2", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://web.skype.com/", | 7 | "serviceURL": "https://web.skype.com/", |
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 { |