Skip to content

Commit e2c8041

Browse files
committed
fix gpt-4 web unusual activity (#615)
1 parent e28ec22 commit e2c8041

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/background/index.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,9 @@ try {
258258
}
259259
setUserConfig({
260260
chatgptArkoseReqUrl: details.url,
261-
chatgptArkoseReqForm: formData.toString(),
261+
chatgptArkoseReqForm:
262+
formData.toString() ||
263+
new TextDecoder('utf-8').decode(new Uint8Array(details.requestBody.raw[0].bytes)),
262264
}).then(() => {
263265
console.log('Arkose req url and form saved')
264266
})

src/rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{
5757
"operation": "set",
5858
"header": "referer",
59-
"value": "https://tcr9i.chat.openai.com/v2/1.5.5/enforcement.fbfc14b0d793c6ef8359e0e4b4a91f67.html"
59+
"value": "https://tcr9i.chat.openai.com/v2/2.3.4/enforcement.c70df15cb97792b18c2f4978b68954a0.html"
6060
}
6161
]
6262
},

0 commit comments

Comments
 (0)