From 8cfacf8259e430686afeb15e5ade365a87d2e4fc Mon Sep 17 00:00:00 2001 From: AndreĢ Oliveira Date: Sun, 3 Sep 2023 00:56:32 +0100 Subject: Fix issue with login with google --- recipes/chatgpt/index.js | 24 +----------------------- recipes/chatgpt/package.json | 2 +- 2 files changed, 2 insertions(+), 24 deletions(-) (limited to 'recipes') diff --git a/recipes/chatgpt/index.js b/recipes/chatgpt/index.js index 1392dcb..dd41f72 100644 --- a/recipes/chatgpt/index.js +++ b/recipes/chatgpt/index.js @@ -1,23 +1 @@ -module.exports = Ferdium => - class Messenger extends Ferdium { - overrideUserAgent() { - return window.navigator.userAgent - .replaceAll(/(Ferdium|Electron)\/\S+ \([^)]+\)/g, '') - .trim(); - } - - modifyRequestHeaders() { - return [ - { - headers: { - 'user-agent': window.navigator.userAgent - .replaceAll(/(Ferdium|Electron)\/\S+ \([^)]+\)/g, '') - .trim(), - }, - requestFilters: { - urls: ['*://*/*'], - }, - }, - ]; - } - }; +module.exports = Ferdium => Ferdium; diff --git a/recipes/chatgpt/package.json b/recipes/chatgpt/package.json index b6f87cc..46ceac8 100644 --- a/recipes/chatgpt/package.json +++ b/recipes/chatgpt/package.json @@ -1,7 +1,7 @@ { "id": "chatgpt", "name": "ChatGPT", - "version": "1.1.0", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://chat.openai.com/chat" -- cgit v1.2.3-54-g00ecf