From 87928fc57d9b532eb9d46323c128d42d7faf3a57 Mon Sep 17 00:00:00 2001 From: ishan dutta Date: Wed, 22 Nov 2023 10:27:38 +0530 Subject: [PATCH] CPGPT_UNINSTALL_TYPEFORM_URL --- src/background/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/background/index.ts b/src/background/index.ts index 9cf03d9..f3b7c7d 100644 --- a/src/background/index.ts +++ b/src/background/index.ts @@ -4,6 +4,8 @@ import { ChatGPTProvider, getChatGPTAccessToken, sendMessageFeedback } from './p import { OpenAIProvider } from './providers/openai' import { Provider } from './types' +const CPGPT_UNINSTALL_TYPEFORM_URL = 'https://survey.typeform.com/to/hfCemvjy' + async function generateAnswers( port: Browser.Runtime.Port, question: string, @@ -80,3 +82,5 @@ Browser.runtime.onInstalled.addListener((details) => { Browser.runtime.openOptionsPage() } }) + +Browser.runtime.setUninstallURL(CPGPT_UNINSTALL_TYPEFORM_URL)