diff --git a/src/_locales/en/main.json b/src/_locales/en/main.json index 1908b96..3366e4b 100644 --- a/src/_locales/en/main.json +++ b/src/_locales/en/main.json @@ -112,5 +112,6 @@ "API Params": "API Params", "API Url": "API Url", "Others": "Others", - "API Modes": "API Modes" + "API Modes": "API Modes", + "Disable web mode history for better privacy protection, but it will result in unavailable conversations after a period of time": "Disable web mode history for better privacy protection, but it will result in unavailable conversations after a period of time" } diff --git a/src/_locales/zh-hans/main.json b/src/_locales/zh-hans/main.json index 18b7d39..1340f91 100644 --- a/src/_locales/zh-hans/main.json +++ b/src/_locales/zh-hans/main.json @@ -112,5 +112,6 @@ "API Params": "API参数", "API Url": "API地址", "Others": "其他", - "API Modes": "API模式" + "API Modes": "API模式", + "Disable web mode history for better privacy protection, but it will result in unavailable conversations after a period of time": "禁用网页版模式历史记录以获得更好的隐私保护, 但会导致对话在一段时间后不可用" } diff --git a/src/_locales/zh-hant/main.json b/src/_locales/zh-hant/main.json index 9a28f9e..a6c0020 100644 --- a/src/_locales/zh-hant/main.json +++ b/src/_locales/zh-hant/main.json @@ -112,5 +112,6 @@ "API Params": "API參數", "API Url": "API網址", "Others": "其他", - "API Modes": "API模式" + "API Modes": "API模式", + "Disable web mode history for better privacy protection, but it will result in unavailable conversations after a period of time": "禁用網頁版模式歷史記錄以獲得更好的隱私保護, 但會導致對話在壹段時間後不可用" } diff --git a/src/config/index.mjs b/src/config/index.mjs index 044ef5c..b8522ca 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -109,6 +109,7 @@ export const defaultConfig = { customChatGptWebApiUrl: 'https://chat.openai.com', customChatGptWebApiPath: '/backend-api/conversation', customOpenAiApiUrl: 'https://api.openai.com', + disableWebModeHistory: true, siteRegex: 'match nothing', useSiteRegexOnly: false, inputQuery: '', diff --git a/src/popup/sections/AdvancedPart.jsx b/src/popup/sections/AdvancedPart.jsx index 34f9c58..ad568c1 100644 --- a/src/popup/sections/AdvancedPart.jsx +++ b/src/popup/sections/AdvancedPart.jsx @@ -116,6 +116,20 @@ function Others({ config, updateConfig }) { return ( <> + +