ChatGPT の履歴を削除する 🕶️

chatgpt.com を訪れる際に自動的にチャット履歴を消去します

< ChatGPT の履歴を削除する 🕶️についてのフィードバック

レート:良 – スクリプトは良好に動作する

§
投稿日: 2023/06/07
編集日: 2023/06/07

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作者
§
投稿日: 2023/06/09

@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作者
§
投稿日: 2023/06/09
編集日: 2023/06/09

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

§
投稿日: 2023/09/15

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作者
§
投稿日: 2023/09/15

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

§
投稿日: 2023/09/15

edge/tampermonkey

adamlui作者
§
投稿日: 2023/09/16

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

§
投稿日: 2023/09/17

still broken

§
投稿日: 2024/04/30

still broken

adamlui作者
§
投稿日: 2024/05/01

@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?

§
投稿日: 2024/05/07

edge/tampermonkey

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

§
投稿日: 2024/05/16

broken again

adamlui作者
§
投稿日: 2024/05/17
編集日: 2024/05/17

@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?

§
投稿日: 2024/05/17

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作者
§
投稿日: 2024/05/17

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

§
投稿日: 2024/05/17

Thanks!

No worries!
Glad I could help!

adamlui作者
§
投稿日: 2024/05/31

@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

§
投稿日: 2024/06/01

Thanks

返信を投稿

返信を投稿するにはログインしてください。