Prevents deletion of filtered/censored responses on DeepSeek. This is purely visual change. FILTERED RESPONSES WILL PERSIST ONLY UNTIL THE PAGE IS RELOADED.
I fixed it with chatgpt's help by replacing lines 44-57 (for loop) with:
for (let [eventI, event] of events.entries()) { if (event === ``) continue; if (event === `data: [DONE]`) continue; try { let eventJson = JSON.parse(event.split('data: ')[1]); if (eventJson.v && Array.isArray(eventJson.v)) { //console.log("Array:", event); const filterStatus = eventJson.v.find(item => item.p === "status" && item.v === "CONTENT_FILTER"); if (filterStatus) { eventJson = { v: "FINISHED", p: "response/status" }; events[eventI] = `data: ` + JSON.stringify(eventJson); console.log(`[DeepSeeker] Get patched, idiot :P`); } } } catch (error) { console.error("Error parsing event JSON:", event, error); } }
Hello! I have updated it, fixing the issue + rewrote it to fix other bugs, please update!
I fixed it with chatgpt's help by replacing lines 44-57 (for loop) with: