From d5cff7387147173e19e8af25fb74a80e446591c8 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 2 Jul 2021 15:03:23 +0530 Subject: Fix for 'unknown browser' issue on google hangouts. --- recipes/hangouts/index.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'recipes/hangouts/index.js') 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 @@ module.exports = (Franz) => - class hangouts extends Franz { - modifyRequestHeaders() { - return [ - { - headers: { - 'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(), - }, - requestFilters: { - urls: ['*://*/*'], - }, - }, - ]; - } + class Hangouts extends Franz { }; -- cgit v1.2.3-54-g00ecf