I don't know why anyone would want to use this 5.2.4 version. It is sadly inferior to my 5.2.3.with.fixes.c version. I compared them just now, line for line, using Notepad++'s ComparePlus plugin. The two scripts are almost identical. But this 5.2.4 is missing some very simple and important fixes. I was hoping to delete my userscript and point everyone to start using the 5.2.4 version. But when I realized that the 5.2.4 version is BROKEN, I can't do that. So when I first fixed 5.2.3, I just made some simple changes. There is a 401 error that you get because Undiscord steals your Discord password instead of using an authentication token. The fix is extremely simple. All you have to do is replace the word "password" with "text", and Undiscord will work and you won't get a 401 error anymore. I also applied a few other extremely simple fixes. One was that the Undiscord window would be mostly off-screen if your browser window was too small. That is because the script used position:fixed at right:10px. I fixed this by changing it to position:right at right:40px. I applied another small fix to solve a problem where "the userscript stopped working for a while". Honestly, I was lazy on this one so I just applied the fix without studying it. But I could tell the code was harmless. All it did was add the following lines: const messagesRemaining = this.state.grandTotal - this.state.offset; else if (this.state.delCount < messagesRemaining) {log.verb('There\'s messages remaining, checking next page...');} Recently, there was an issue with Undiscord being mostly transparent and impossible to see. So I manually added all the fixes in the Pull Request #712. It is funny because after comparing 5.2.4 with my 5.2.3.with.fixes.c just now, it looks like I manually applied all the fixes perfectly because everything matched up perfectly. So in summary, 5.2.4 only does one good thing that 5.2.3 doesn't. It fixes the transparent Undiscord window. But it still tries to take your Discord password instead of using an authentication token. It still gives you 401 errors. It still will be mostly hidden and off-screen if your browser window is too small. And it might stop working after a while, because it was highly recommended to add the fix for the problem where the userscript stops working even if there are messages remaining. You can see a full comparison of my 5.2.3.with.fixes.c vs 5.2.4 here: https://www.diffchecker.com/oLdrptRi/ Mine is on the left. This 5.2.4 is on the right. Like I said, I was really looking forward to deleting my version and trying to find a way to let everyone know to switch to 5.2.4 using this greasyfork link. But I can't do that when the most important problems have not been fixed yet. Also, I don't understand at all why victorpb has not uploaded this 5.2.4 on his own Github. If you go to his Github, the latest release is from July 2023 which was TWO YEARS AGO. I even messaged him TWICE on there that if he updated his userscript then he should PUBLISH it on his Github. But no, the version on there is still super old from two years ago. What I would like to see happen? Have every simple fix that I outlined here implemented. Update the version to 5.2.5. And let me delete my copy so everyone can use the official 5.2.5. That's what I hope to see. I do know of an alternative to Undiscord that I heard glowing reviews about. I just have been too lazy to test it out. I figured if I could get 5.2.3 working again, why not just use that? But maybe I should look into that alternative because it seems fishy to me that Undiscord takes your Discord password (causing the 401 errors). And it seems fishy to me that the simple fix for it, replacing the word "password" with "text" has not been applied even after a year. And it seems fishy to me that the 5.2.4 version of Undiscord is not even available on Github and only people who accidentally find it on GreasyFork will know about it. So strange. So weird. I'm scratching my head everyday trying to figure out why. I don't think that I will ever know.
I don't know why anyone would want to use this 5.2.4 version. It is sadly inferior to my 5.2.3.with.fixes.c version. I compared them just now, line for line, using Notepad++'s ComparePlus plugin. The two scripts are almost identical. But this 5.2.4 is missing some very simple and important fixes. I was hoping to delete my userscript and point everyone to start using the 5.2.4 version. But when I realized that the 5.2.4 version is BROKEN, I can't do that. So when I first fixed 5.2.3, I just made some simple changes. There is a 401 error that you get because Undiscord steals your Discord password instead of using an authentication token. The fix is extremely simple. All you have to do is replace the word "password" with "text", and Undiscord will work and you won't get a 401 error anymore. I also applied a few other extremely simple fixes. One was that the Undiscord window would be mostly off-screen if your browser window was too small. That is because the script used position:fixed at right:10px. I fixed this by changing it to position:right at right:40px. I applied another small fix to solve a problem where "the userscript stopped working for a while". Honestly, I was lazy on this one so I just applied the fix without studying it. But I could tell the code was harmless. All it did was add the following lines:
const messagesRemaining = this.state.grandTotal - this.state.offset;
else if (this.state.delCount < messagesRemaining) {log.verb('There\'s messages remaining, checking next page...');}
Recently, there was an issue with Undiscord being mostly transparent and impossible to see. So I manually added all the fixes in the Pull Request #712. It is funny because after comparing 5.2.4 with my 5.2.3.with.fixes.c just now, it looks like I manually applied all the fixes perfectly because everything matched up perfectly.
So in summary, 5.2.4 only does one good thing that 5.2.3 doesn't. It fixes the transparent Undiscord window. But it still tries to take your Discord password instead of using an authentication token. It still gives you 401 errors. It still will be mostly hidden and off-screen if your browser window is too small. And it might stop working after a while, because it was highly recommended to add the fix for the problem where the userscript stops working even if there are messages remaining.
You can see a full comparison of my 5.2.3.with.fixes.c vs 5.2.4 here:
https://www.diffchecker.com/oLdrptRi/
Mine is on the left. This 5.2.4 is on the right.
Like I said, I was really looking forward to deleting my version and trying to find a way to let everyone know to switch to 5.2.4 using this greasyfork link. But I can't do that when the most important problems have not been fixed yet. Also, I don't understand at all why victorpb has not uploaded this 5.2.4 on his own Github. If you go to his Github, the latest release is from July 2023 which was TWO YEARS AGO. I even messaged him TWICE on there that if he updated his userscript then he should PUBLISH it on his Github. But no, the version on there is still super old from two years ago.
What I would like to see happen? Have every simple fix that I outlined here implemented. Update the version to 5.2.5. And let me delete my copy so everyone can use the official 5.2.5. That's what I hope to see.
I do know of an alternative to Undiscord that I heard glowing reviews about. I just have been too lazy to test it out. I figured if I could get 5.2.3 working again, why not just use that? But maybe I should look into that alternative because it seems fishy to me that Undiscord takes your Discord password (causing the 401 errors). And it seems fishy to me that the simple fix for it, replacing the word "password" with "text" has not been applied even after a year. And it seems fishy to me that the 5.2.4 version of Undiscord is not even available on Github and only people who accidentally find it on GreasyFork will know about it. So strange. So weird. I'm scratching my head everyday trying to figure out why. I don't think that I will ever know.