aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hangouts/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-02 15:03:23 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-07-02 15:28:40 +0530
commitd5cff7387147173e19e8af25fb74a80e446591c8 (patch)
tree008d110ea1f6096dd2e8e61cfa728241bdf1f484 /recipes/hangouts/index.js
parentUpdated mailbox.org icon (diff)
downloadferdium-recipes-d5cff7387147173e19e8af25fb74a80e446591c8.tar.gz
ferdium-recipes-d5cff7387147173e19e8af25fb74a80e446591c8.tar.zst
ferdium-recipes-d5cff7387147173e19e8af25fb74a80e446591c8.zip
Fix for 'unknown browser' issue on google hangouts.
Diffstat (limited to 'recipes/hangouts/index.js')
-rw-r--r--recipes/hangouts/index.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/recipes/hangouts/index.js b/recipes/hangouts/index.js
index 8be0a8e..049149c 100644
--- a/recipes/hangouts/index.js
+++ b/recipes/hangouts/index.js
@@ -1,15 +1,3 @@
1module.exports = (Franz) => 1module.exports = (Franz) =>
2 class hangouts extends Franz { 2 class Hangouts extends Franz {
3 modifyRequestHeaders() {
4 return [
5 {
6 headers: {
7 'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(),
8 },
9 requestFilters: {
10 urls: ['*://*/*'],
11 },
12 },
13 ];
14 }
15 }; 3 };