diff options
author | 2020-04-01 08:34:45 +0200 | |
---|---|---|
committer | 2020-04-02 12:07:39 +0200 | |
commit | 143583b74f69bb69ccddb6cb2fa7ae744bc76e72 (patch) | |
tree | 906ef68de7101d247c3fafb7369c6288a7e7f911 | |
parent | Update recipe_request.md (diff) | |
download | ferdium-recipes-143583b74f69bb69ccddb6cb2fa7ae744bc76e72.tar.gz ferdium-recipes-143583b74f69bb69ccddb6cb2fa7ae744bc76e72.tar.zst ferdium-recipes-143583b74f69bb69ccddb6cb2fa7ae744bc76e72.zip |
Don't set Mac UA on Linux for Google services
If we set the Mac UA on Linux, then various shortcuts will change to Mac
ones - i.e. Ctrl + K to create a link in GMail will stop work, Ctrl + Enter
to send an email in GMail and others. Only set the Mac UA when not
running on Linux.
22 files changed, 58 insertions, 23 deletions
@@ -235,7 +235,7 @@ | |||
235 | "featured": false, | 235 | "featured": false, |
236 | "id": "gmail", | 236 | "id": "gmail", |
237 | "name": "Gmail", | 237 | "name": "Gmail", |
238 | "version": "1.3.0", | 238 | "version": "1.3.1", |
239 | "icons": { | 239 | "icons": { |
240 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmail/icon.png", | 240 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmail/icon.png", |
241 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmail/icon.svg" | 241 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmail/icon.svg" |
@@ -246,7 +246,7 @@ | |||
246 | "featured": false, | 246 | "featured": false, |
247 | "id": "googlecalendar", | 247 | "id": "googlecalendar", |
248 | "name": "Google Calendar", | 248 | "name": "Google Calendar", |
249 | "version": "1.0.2", | 249 | "version": "1.0.3", |
250 | "icons": { | 250 | "icons": { |
251 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlecalendar/icon.png", | 251 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlecalendar/icon.png", |
252 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlecalendar/icon.svg" | 252 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlecalendar/icon.svg" |
@@ -257,7 +257,7 @@ | |||
257 | "featured": false, | 257 | "featured": false, |
258 | "id": "googledrive", | 258 | "id": "googledrive", |
259 | "name": "Google Drive", | 259 | "name": "Google Drive", |
260 | "version": "1.0.2", | 260 | "version": "1.0.3", |
261 | "icons": { | 261 | "icons": { |
262 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googledrive/icon.png", | 262 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googledrive/icon.png", |
263 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googledrive/icon.svg" | 263 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googledrive/icon.svg" |
@@ -268,7 +268,7 @@ | |||
268 | "featured": false, | 268 | "featured": false, |
269 | "id": "googlekeep", | 269 | "id": "googlekeep", |
270 | "name": "Google Keep", | 270 | "name": "Google Keep", |
271 | "version": "1.0.2", | 271 | "version": "1.0.3", |
272 | "icons": { | 272 | "icons": { |
273 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlekeep/icon.png", | 273 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlekeep/icon.png", |
274 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlekeep/icon.svg" | 274 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlekeep/icon.svg" |
@@ -279,7 +279,7 @@ | |||
279 | "featured": false, | 279 | "featured": false, |
280 | "id": "googlemeet", | 280 | "id": "googlemeet", |
281 | "name": "Google Meet", | 281 | "name": "Google Meet", |
282 | "version": "1.0.1", | 282 | "version": "1.0.2", |
283 | "icons": { | 283 | "icons": { |
284 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlemeet/icon.png", | 284 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlemeet/icon.png", |
285 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlemeet/icon.svg" | 285 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googlemeet/icon.svg" |
@@ -334,7 +334,7 @@ | |||
334 | "featured": false, | 334 | "featured": false, |
335 | "id": "hangouts", | 335 | "id": "hangouts", |
336 | "name": "Hangouts", | 336 | "name": "Hangouts", |
337 | "version": "1.0.1", | 337 | "version": "1.0.2", |
338 | "icons": { | 338 | "icons": { |
339 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangouts/icon.png", | 339 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangouts/icon.png", |
340 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangouts/icon.svg" | 340 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangouts/icon.svg" |
@@ -345,7 +345,7 @@ | |||
345 | "featured": false, | 345 | "featured": false, |
346 | "id": "hangoutschat", | 346 | "id": "hangoutschat", |
347 | "name": "Hangouts Chat", | 347 | "name": "Hangouts Chat", |
348 | "version": "1.2.0", | 348 | "version": "1.2.1", |
349 | "icons": { | 349 | "icons": { |
350 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangoutschat/icon.png", | 350 | "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangoutschat/icon.png", |
351 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangoutschat/icon.svg" | 351 | "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/hangoutschat/icon.svg" |
diff --git a/archives/gmail.tar.gz b/archives/gmail.tar.gz index beefa09..59b6eed 100644 --- a/archives/gmail.tar.gz +++ b/archives/gmail.tar.gz | |||
Binary files differ | |||
diff --git a/archives/googlecalendar.tar.gz b/archives/googlecalendar.tar.gz index f9fe9b6..7482611 100644 --- a/archives/googlecalendar.tar.gz +++ b/archives/googlecalendar.tar.gz | |||
Binary files differ | |||
diff --git a/archives/googledrive.tar.gz b/archives/googledrive.tar.gz index 59dbdac..9f24b28 100644 --- a/archives/googledrive.tar.gz +++ b/archives/googledrive.tar.gz | |||
Binary files differ | |||
diff --git a/archives/googlekeep.tar.gz b/archives/googlekeep.tar.gz index 52a5e76..2eae770 100644 --- a/archives/googlekeep.tar.gz +++ b/archives/googlekeep.tar.gz | |||
Binary files differ | |||
diff --git a/archives/googlemeet.tar.gz b/archives/googlemeet.tar.gz index 2a0574b..dac4bbe 100644 --- a/archives/googlemeet.tar.gz +++ b/archives/googlemeet.tar.gz | |||
Binary files differ | |||
diff --git a/archives/hangouts.tar.gz b/archives/hangouts.tar.gz index 5e357a7..8ae4470 100644 --- a/archives/hangouts.tar.gz +++ b/archives/hangouts.tar.gz | |||
Binary files differ | |||
diff --git a/archives/hangoutschat.tar.gz b/archives/hangoutschat.tar.gz index 797352b..609643e 100644 --- a/archives/hangoutschat.tar.gz +++ b/archives/hangoutschat.tar.gz | |||
Binary files differ | |||
diff --git a/uncompressed/gmail/index.js b/uncompressed/gmail/index.js index 97c6a73..4087aa3 100644 --- a/uncompressed/gmail/index.js +++ b/uncompressed/gmail/index.js | |||
@@ -1,6 +1,11 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | module.exports = Franz => | 3 | module.exports = Franz => |
2 | class Gmail extends Franz { | 4 | class Gmail extends Franz { |
3 | overrideUserAgent() { | 5 | overrideUserAgent() { |
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 6 | if (os.platform() == 'linux') |
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | 10 | } |
6 | }; | 11 | }; |
diff --git a/uncompressed/gmail/package.json b/uncompressed/gmail/package.json index daac7a3..d7191e9 100644 --- a/uncompressed/gmail/package.json +++ b/uncompressed/gmail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "gmail", | 2 | "id": "gmail", |
3 | "name": "Gmail", | 3 | "name": "Gmail", |
4 | "version": "1.3.0", | 4 | "version": "1.3.1", |
5 | "description": "Gmail", | 5 | "description": "Gmail", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io>", | 7 | "author": "Stefan Malzner <stefan@adlk.io>", |
diff --git a/uncompressed/googlecalendar/index.js b/uncompressed/googlecalendar/index.js index 5416ca3..401a28f 100644 --- a/uncompressed/googlecalendar/index.js +++ b/uncompressed/googlecalendar/index.js | |||
@@ -1,6 +1,11 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | module.exports = Franz => | 3 | module.exports = Franz => |
2 | class googlecalendar extends Franz { | 4 | class googlecalendar extends Franz { |
3 | overrideUserAgent() { | 5 | overrideUserAgent() { |
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 6 | if (os.platform() == 'linux') |
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | 10 | } |
6 | }; | 11 | }; |
diff --git a/uncompressed/googlecalendar/package.json b/uncompressed/googlecalendar/package.json index 3a5a17b..95d4e1c 100644 --- a/uncompressed/googlecalendar/package.json +++ b/uncompressed/googlecalendar/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "googlecalendar", | 2 | "id": "googlecalendar", |
3 | "name": "Google Calendar", | 3 | "name": "Google Calendar", |
4 | "version": "1.0.2", | 4 | "version": "1.0.3", |
5 | "description": "Google Calendar", | 5 | "description": "Google Calendar", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Rico Herwig <rherwig4711@gmail.com>", | 7 | "author": "Rico Herwig <rherwig4711@gmail.com>", |
@@ -12,4 +12,4 @@ | |||
12 | "hasDirectMessages": true, | 12 | "hasDirectMessages": true, |
13 | "openDevTools": true | 13 | "openDevTools": true |
14 | } | 14 | } |
15 | } \ No newline at end of file | 15 | } |
diff --git a/uncompressed/googledrive/index.js b/uncompressed/googledrive/index.js index 3d2e725..9c4da64 100644 --- a/uncompressed/googledrive/index.js +++ b/uncompressed/googledrive/index.js | |||
@@ -1,6 +1,11 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | module.exports = Franz => | 3 | module.exports = Franz => |
2 | class googledrive extends Franz { | 4 | class googledrive extends Franz { |
3 | overrideUserAgent() { | 5 | overrideUserAgent() { |
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 6 | if (os.platform() == 'linux') |
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | 10 | } |
6 | }; | 11 | }; |
diff --git a/uncompressed/googledrive/package.json b/uncompressed/googledrive/package.json index f741db5..5b97042 100644 --- a/uncompressed/googledrive/package.json +++ b/uncompressed/googledrive/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "googledrive", | 2 | "id": "googledrive", |
3 | "name": "Google Drive", | 3 | "name": "Google Drive", |
4 | "version": "1.0.2", | 4 | "version": "1.0.3", |
5 | "description": "Google Drive", | 5 | "description": "Google Drive", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Djonathan Goulart<d.goulart@outlook.com.br>", | 7 | "author": "Djonathan Goulart<d.goulart@outlook.com.br>", |
@@ -22,4 +22,4 @@ | |||
22 | }, | 22 | }, |
23 | "openDevTools": false | 23 | "openDevTools": false |
24 | } | 24 | } |
25 | } \ No newline at end of file | 25 | } |
diff --git a/uncompressed/googlekeep/index.js b/uncompressed/googlekeep/index.js index aa0aeeb..96e3615 100644 --- a/uncompressed/googlekeep/index.js +++ b/uncompressed/googlekeep/index.js | |||
@@ -1,6 +1,11 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | module.exports = Franz => | 3 | module.exports = Franz => |
2 | class googlekeep extends Franz { | 4 | class googlekeep extends Franz { |
3 | overrideUserAgent() { | 5 | overrideUserAgent() { |
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 6 | if (os.platform() == 'linux') |
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | 10 | } |
6 | }; | 11 | }; |
diff --git a/uncompressed/googlekeep/package.json b/uncompressed/googlekeep/package.json index afc4975..d06fe09 100644 --- a/uncompressed/googlekeep/package.json +++ b/uncompressed/googlekeep/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "googlekeep", | 2 | "id": "googlekeep", |
3 | "name": "Google Keep", | 3 | "name": "Google Keep", |
4 | "version": "1.0.2", | 4 | "version": "1.0.3", |
5 | "description": "Google Keep", | 5 | "description": "Google Keep", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "SiloCityLabs LLC", | 7 | "author": "SiloCityLabs LLC", |
diff --git a/uncompressed/googlemeet/index.js b/uncompressed/googlemeet/index.js index 97c6a73..4087aa3 100644 --- a/uncompressed/googlemeet/index.js +++ b/uncompressed/googlemeet/index.js | |||
@@ -1,6 +1,11 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | module.exports = Franz => | 3 | module.exports = Franz => |
2 | class Gmail extends Franz { | 4 | class Gmail extends Franz { |
3 | overrideUserAgent() { | 5 | overrideUserAgent() { |
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 6 | if (os.platform() == 'linux') |
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | 10 | } |
6 | }; | 11 | }; |
diff --git a/uncompressed/googlemeet/package.json b/uncompressed/googlemeet/package.json index 1c684db..5428747 100644 --- a/uncompressed/googlemeet/package.json +++ b/uncompressed/googlemeet/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "googlemeet", | 2 | "id": "googlemeet", |
3 | "name": "Google Meet", | 3 | "name": "Google Meet", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "description": "Google Meet", | 5 | "description": "Google Meet", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Patrick Thoelken <patrick.thoelken@outlook.com>", | 7 | "author": "Patrick Thoelken <patrick.thoelken@outlook.com>", |
diff --git a/uncompressed/hangouts/index.js b/uncompressed/hangouts/index.js index d876475..a671025 100644 --- a/uncompressed/hangouts/index.js +++ b/uncompressed/hangouts/index.js | |||
@@ -1,6 +1,11 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | module.exports = Franz => | 3 | module.exports = Franz => |
2 | class hangouts extends Franz { | 4 | class hangouts extends Franz { |
3 | overrideUserAgent() { | 5 | overrideUserAgent() { |
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 6 | if (os.platform() == 'linux') |
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | 10 | } |
6 | }; | 11 | }; |
diff --git a/uncompressed/hangouts/package.json b/uncompressed/hangouts/package.json index c8a3254..f0e0184 100644 --- a/uncompressed/hangouts/package.json +++ b/uncompressed/hangouts/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "hangouts", | 2 | "id": "hangouts", |
3 | "name": "Hangouts", | 3 | "name": "Hangouts", |
4 | "version": "1.0.1", | 4 | "version": "1.0.2", |
5 | "description": "Hangouts", | 5 | "description": "Hangouts", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io>", | 7 | "author": "Stefan Malzner <stefan@adlk.io>", |
diff --git a/uncompressed/hangoutschat/index.js b/uncompressed/hangoutschat/index.js index 560a173..95e7fa5 100644 --- a/uncompressed/hangoutschat/index.js +++ b/uncompressed/hangoutschat/index.js | |||
@@ -1,7 +1,12 @@ | |||
1 | var os = require('os') | ||
2 | |||
1 | // just pass through Franz | 3 | // just pass through Franz |
2 | module.exports = Franz => | 4 | module.exports = Franz => |
3 | class HangoutsChat extends Franz { | 5 | class HangoutsChat extends Franz { |
4 | overrideUserAgent() { | 6 | overrideUserAgent() { |
5 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | 7 | if (os.platform() == 'linux') |
8 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
9 | else | ||
10 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
6 | } | 11 | } |
7 | }; | 12 | }; |
diff --git a/uncompressed/hangoutschat/package.json b/uncompressed/hangoutschat/package.json index e7e1ce3..4b69fd3 100644 --- a/uncompressed/hangoutschat/package.json +++ b/uncompressed/hangoutschat/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "hangoutschat", | 2 | "id": "hangoutschat", |
3 | "name": "Hangouts Chat", | 3 | "name": "Hangouts Chat", |
4 | "version": "1.2.0", | 4 | "version": "1.2.1", |
5 | "description": "Hangouts Chat", | 5 | "description": "Hangouts Chat", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Stefan Malzner <stefan@adlk.io> and Iván López (ilopmar)", | 7 | "author": "Stefan Malzner <stefan@adlk.io> and Iván López (ilopmar)", |