ChatGPT-DeMod icon indicating copy to clipboard operation
ChatGPT-DeMod copied to clipboard

DeMod Removes All Messages

Open edatorbit opened this issue 8 months ago • 12 comments

If I have DeMod installed, it replaces all of ChatGPT's messages in chat after the first one with "DeMod: Request completed, but DeMod failed to access the history. Try refreshing the conversation instead."; even if the message wasn't removed to begin with. The message from ChatGPT will display as normal, and then get replaced with the error message a few seconds later.

edatorbit avatar Mar 30 '25 13:03 edatorbit

I can't reproduce the issue you're talking about. Does this happen in every conversation? Or just new ones? Old ones? I'm using free version of ChatGPT - maybe that's the difference?

Any additional information you can provide will be helpful, otherwise I have no idea what is wrong.

4as avatar Mar 30 '25 18:03 4as

@AySz88 pointed out to me the problem. I accidentally left some debugging code in the release. I've updated DeMod to 5.3, it should not longer have this issue.

4as avatar Mar 30 '25 23:03 4as

@AySz88 pointed out to me the problem. I accidentally left some debugging code in the release. I've updated DeMod to 5.3, it should not longer have this issue.

At least for me, messages are still being removed, but without the demod message.

avava2 avatar Mar 31 '25 02:03 avava2

Can you give more information? Like, what is happening and what do you expect to be happening instead. I've tested on both Firefox and Chrome, and normal conversation do not get any removals, while red responses get restored by DeMod. Ie. everything works as expected. I won't be able to do anything without details.

4as avatar Mar 31 '25 19:03 4as

Can you give more information? Like, what is happening and what do you expect to be happening instead. I've tested on both Firefox and Chrome, and normal conversation do not get any removals, while red responses get restored by DeMod. Ie. everything works as expected. I won't be able to do anything without details.

Currently I'm using Firefox, I have Demod installed through Tampermonkey. I'm not logged in to ChatGPT, I'm just using it through the main page (chatgpt.com). Currently the issue where it deletes all messages is fixed, but if a message gets removed by the system, it still returns the "DeMod: Request completed, but DeMod failed to access the history. Try refreshing the conversation instead." message instead of restoring the deleted content.

If you need more specifics to fix the issue, let me know what information you need

edatorbit avatar Mar 31 '25 20:03 edatorbit

Can you give more information? Like, what is happening and what do you expect to be happening instead. I've tested on both Firefox and Chrome, and normal conversation do not get any removals, while red responses get restored by DeMod. Ie. everything works as expected. I won't be able to do anything without details.

Image

avava2 avatar Apr 01 '25 03:04 avava2

It seems like two different cases. On one hand DeMod can't restore a message on the other it does nothing.
If possible please download this version of DeMod: https://4as.pl/other/demod.user.js It has more debugging information. Try to trigger the red warning and then copy and paste the console log (F12 in most browsers) into a text file, and attach that file here.

4as avatar Apr 01 '25 07:04 4as

It seems like two different cases. On one hand DeMod can't restore a message on the other it does nothing. If possible please download this version of DeMod: https://4as.pl/other/demod.user.js It has more debugging information. Try to trigger the red warning and then copy and paste the console log (F12 in most browsers) into a text file, and attach that file here.

The version of DeMod you asked me to test with actually doesn't have either issue - it can restore deleted messages perfectly. However, it does bring up a red error box that says "original_request is null" underneath the recovered message.

edatorbit avatar Apr 02 '25 01:04 edatorbit

In that case could you reinstall version 5.3 and also copy the console logs here? Even the official release of DeMod logs some things so it might help me understand where the difference is.

4as avatar Apr 02 '25 15:04 4as

In that case could you reinstall version 5.3 and also copy the console logs here? Even the official release of DeMod logs some things so it might help me understand where the difference is.

I logged two different conversations that both gave the same error:

Error 2.txt

edatorbit avatar Apr 02 '25 20:04 edatorbit

I need the extended logs from the debugging version of DeMod, but you deleted them before I got them. Trigger the error using https://4as.pl/other/demod.user.js and paste the logs here. I currently have no idea what is wrong, so I need the logs.

4as avatar Apr 06 '25 10:04 4as

I need the extended logs from the debugging version of DeMod, but you deleted them before I got them. Trigger the error using https://4as.pl/other/demod.user.js and paste the logs here. I currently have no idea what is wrong, so I need the logs.

Sorry about that, here they are again:

Error.txt

edatorbit avatar Apr 12 '25 03:04 edatorbit

Sorry for the delay. I've updated the debugging script at: https://4as.pl/other/demod.user.js Can you check if it fixes the issue for you?

4as avatar May 11 '25 15:05 4as

I'm going to assume it did and the issue is resolved.

4as avatar May 24 '25 14:05 4as

I'm going to assume it did and the issue is resolved.

Hey - just found this message, thanks! Demod now works correctly, but it does display a "original_request[0] is undefined" error when a message I send has been deleted.

I have no idea if there's any issues with it restoring a message from ChatGPT itself that gets removed, I haven't been using it for anything that could cause a removal

edatorbit avatar May 26 '25 01:05 edatorbit

Could you upload your console logs? When you get this error using the debugging script: https://4as.pl/other/demod.user.js

4as avatar May 26 '25 08:05 4as