4as / ChatGPT-DeMod

Tampermonkey/Greasemonkey script that hides the moderation results when communicating with ChatGPT.
GNU General Public License v2.0
382 stars 54 forks source link

Domain name has changed from chat.openai.com to chatgpt.com #45

Closed KanchiMoe closed 2 months ago

KanchiMoe commented 2 months ago

The domain name for chatgpt has just changed from chat.openai.com to chatgpt.com, which breaks DeMod.

BumpDrafting commented 2 months ago

Yeah I hope they fix it.

delta993555 commented 2 months ago

sigh It doesn't work

MaerRand commented 2 months ago

Line 757

window.location.replace("https://chatgpt.com");

Replace the link with chatgpt.com then refresh and then it works again

CaptainChicky commented 2 months ago

@MaerRand This is not quite the issue here. Currently, chat.openai.com redirects to chatgpt.com. What we need is for the tampermonkey script to match the new domain in addition to the old domain. That line of code there actually replaces an url containing domain/c (or share)/blah into chat.openai.com if the page is considered blocked (as to why, read the docs), and changing this does not resolve the problem.

4as commented 2 months ago

The issue with the domain has been resolved in the latest version of DeMod v4.2.
Hopefully the location() code can remain pointing to openai for now. I'll revisit it later, if it turns out to be an issue.