Изчистете ChatGPT История 🕶️

Автоматично изчиства чат историята при посещение на chatgpt.com

< Отзив за Изчистете ChatGPT История 🕶️

Отзив: Отлично - скриптът работи

§
Публикуван на: 07.06.2023
Редактиран на: 07.06.2023

button visibility does not seem to work or do anything.

Also what is the point of showing a nice toggle button on the screen, if it doesn't work or do anything on click?

It would be so much better and more convenient if you made it save the settings onclick, instead of using the tampermonkey menu, not a lot of people knows that menu exists....

Also, the auto clear on setting resets as soon as the page is loaded, making it and the whole script pointless

adamluiАвтор
§
Публикуван на: 09.06.2023

@hacker09

button visibility does not seem to work or do anything.

This toggle is to show/hide a 'clear chats' button in sidebar that was recently rendered invisible, after a recent OpenAI update copied my Full-Window mode from https://chatgptevo.com/widescreen thus broke fetchMap.get(). @XiaoYingYo created the button and I opened https://github.com/adamlui/autoclear-chatgpt-history/issues/6 for him to fix it but you are welcome to contribute, too

Also what is the point of showing a nice toggle button on the screen, if it doesn't work or do anything on click?

It used to work without fetchMap.get() but again, @XiaoYingYo added the function but it broke after last update so I am waiting for his resolution, but thank you for pointing this out

It would be so much better and more convenient if you made it save the settings onclick, instead of using the tampermonkey menu, not a lot of people knows that menu exists....

That is actually the point of this toggle, to serve people who don't click tiny userscript manager menus (you will notice both switches sync with each other regardless of where user clicks from

Also, the auto clear on setting resets as soon as the page is loaded, making it and the whole script pointless

Actually it used to persist before @XiaoYingYo's addition of fetchMap.get(), but because of OpenAI update as mentioned, his function broke (I even warned him this would happen w/ UI changes is why I preferred my original method) so the entire callback short circuits is the reason setting no longer saves. But please be patient as he has mentioned in the GitHub issue he will fix it when he has time!

adamluiАвтор
§
Публикуван на: 09.06.2023
Редактиран на: 09.06.2023

@hacker09 I removed fetchMap.get() and re-coded the script so everything works as you expect now

§
Публикуван на: 15.09.2023

It does not always work, and recently it started working most of the time, but it does not auto close the settings page to auto clear all history

adamluiАвтор
§
Публикуван на: 15.09.2023

sup @hacker09 can you tell me your browser and userscript manager so I will make it always work and close settings page

§
Публикуван на: 15.09.2023

edge/tampermonkey

adamluiАвтор
§
Публикуван на: 16.09.2023

@hacker09 thank you for the information, I fixed it to always work now!

§
Публикуван на: 17.09.2023

still broken

§
Публикуван на: 30.04.2024

still broken

adamluiАвтор
§
Публикуван на: 01.05.2024

@hacker09 can you see if it works now? OpenAI released a new UI update and I changed a lot to accomodate it. Also, what browser and userscript manager are you using?

§
Публикуван на: 07.05.2024

edge/tampermonkey

It works but privacy badger breaks the script because it blocks cookies from chat.openai.com

§
Публикуван на: 16.05.2024

broken again

adamluiАвтор
§
Публикуван на: 17.05.2024
Редактиран на: 17.05.2024

@hacker09 I fixed the chatgpt.clearChats() method of chatgpt.js to fallback to API routine because there is no DOM way anymore since .click() simply does not work on menu button of new UI. The downside is after API clear, chat history still shows deleted msgs until you refresh browser (but they are deleted already).

If the DOM ever changes so menu button is .click()able again, then when chatgpt.js is bummped around that time, this script will auto-resort to using menu again so chat history is also hidden

Would you like to be added as a contributor btw to the readme on here and GitHub?

§
Публикуван на: 17.05.2024

Thanks.

Well, that isn't a nice fix... Since visually it doesn't work.

How about reloading the page automatically, or at least just adding a class/id to chats that currently exist but were erased by the script, so that your script hides this class/id, but only for old chats that were already deleted, then new chats would still show up there since they do exist.

Yes.

adamluiАвтор
§
Публикуван на: 17.05.2024

That is a lot of work and I have a lot of requested updates to make so it will be on teh tasklist

§
Публикуван на: 17.05.2024

Thanks!

No worries!
Glad I could help!

adamluiАвтор
§
Публикуван на: 31.05.2024

@hacker09 I added auto-clear of front-end history on back-end clears also auto-nav out of current chat so you won't get stuck in weird non-existent chat if manual refresh follows

§
Публикуван на: 01.06.2024

Thanks

Публикувайте отговор

Влезте, за да публикувате отговор.