Feodor2 / Mypal

132 stars 12 forks source link

[Not an issue] - Fix Discord by using old Discord version - Mypal 28/29 & Centaury #114

Open bluedragon-cairo opened 1 year ago

bluedragon-cairo commented 1 year ago

The principle is same as Feodor2/Mypal68#181, but you're going to use the 'Modify HTTP Response' extension by JustOff.

Unlike Feodor2/Mypal68#181, there are more choices of old Discord version you would like to use, and you won't need to disable CSP.

You are going to change the 'Filters' field, as the screenshot below.

You may change "/discord[.]com/" to "/ptb[.]discord[.]com/" if you use Discord PTB (or canary).

image

The editor will show it like below.

image

if you haven't logged in then go to https://discord.com/login

after login, if you get an error screen press F5.

Legendary-Candice-Joe commented 9 months ago

With or without the extension, also even with a new useragent the login page is completely blank. Do I have to use just Centaury or should this work with mypal? Same also with the discord.com/welcome

image

Legendary-Candice-Joe commented 9 months ago

also if it does require Centaury where do I download it? The release page on Feodors repository only has source code releases.

bluedragon-cairo commented 9 months ago

Use New Moon. https://o.rthost.win/palemoon/palemoon-28.10.7a1.win32-git-20230819-d849524bd-uxp-864fc133a3-xpmod.7z as Discord keep making their client full of new javascript bombs

If you still want to use Mypal, change the url filter (channels|activity|users|app|welcome) -> (channels|activity|users|app|welcome|register|login). You should not get captcha when logging in, or you can't log in because Discord now uses hcaptcha (but older discord android app that uses recaptcha still works tho)

centaury 0.15.0 installer I have it somewhere on pc but I can't find it. I have 0.17.0 and 0.0.9 installer but 0.17.0 and 0.16.0 has a slight bug that is not in 0.15.0

Legendary-Candice-Joe commented 9 months ago

Dang it! It so close. I got to the error but no amount of F5-ing or reloading fixed it.

The 2018 and 2019 versions worked but aren't very useful to me. The 2020 versions both had discords error page thingy, and threw this error. I'm not sure if you encounter this on centaury but I will give mypal one last shot.

image

Legendary-Candice-Joe commented 9 months ago

Alright well since my discord account is old it didn't need the hcapta, but it still will not work with calls. Theres no media.peerconnections setting anywhere in the config so I'm not sure if mypal can even use it.

I'm not exactly sure why new moon errors out but I don't think it would've worked anyway since I'm pretty sure New Moon has WebRTC disabled.

Also tried basilisk and it got closer, except it ran into the exact same problem as Mypal68 where it says it's using the microphone but it actually isn't.

bluedragon-cairo commented 7 months ago

media.peerconnections.enabled is only for Mypal-68... Not needed on Centaury or Serpent. You only need to change the user agent there. New Moon and Mypal 28/29 is not capable for voice calls

Legendary-Candice-Joe commented 7 months ago

I already have changed the useragent. Microphone just doesn't have an input on anything higher than Mypal68

bluedragon-cairo commented 7 months ago

What browser are you using, and can you tell me your user agent?

Legendary-Candice-Joe commented 7 months ago

Well I tried the original Mypal with the 2020 discord version, and even with a new user agent it still didn't work. Then I didn't bother with New Moon as it has WebRTC disabled so voice calls just won't work anyway.

Basilisk with a Firefox 116 (latest at the time) user agent got closer, but ran into the same problem as Mypal68 where it says I'm using the Mic but discord (and any other web app) can't detect input. Discord says it needs permission even though I allowed it to.

bluedragon-cairo commented 7 months ago

I'll send you the unmodified Centaury installer (someone says there is a virus in the archive.org backup tho unconfirmed) I tried there it worked fine. It's based on Firefox 68.9 & 2020 version is needed

Original Mypal and New Moon was never capable since it doesn't have WebRTC at all

Legendary-Candice-Joe commented 7 months ago

I didn't realise the original MyPal didn't have WebRTC.

If the installer is from Web.archive.org then there should be no problem.

bluedragon-cairo commented 7 months ago

ah yes use that use 0.15.0 because 0.16.0 and 0.17.0 has minor issues

Legendary-Candice-Joe commented 7 months ago

Can you send the web archive link? or tell me the original website because I've never used Centaury before and I don't know the original link.

bluedragon-cairo commented 7 months ago

http://web.archive.org/web/20210122221822id_/https://github-production-release-asset-2e65be.s3.amazonaws.com/168828823/ccc7b300-5c0a-11eb-8f7e-ef9444881ac0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210122T221822Z&X-Amz-Expires=300&X-Amz-Signature=1480910072fa0e1116e670064f131aabc501f605d2e6d065cb951885868500be&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=168828823&response-content-disposition=attachment%3B%20filename%3Dcentaury-0.15.0.win32.installer.exe&response-content-type=application%2Foctet-stream

bluedragon-cairo commented 4 days ago

The filters above are now broken. Fixed one for May 2019 version:

[["/discord[.]com/",["/(.*)(channels|activity|users|app|welcome)(.*)/",["/<link href=\\\"\\/assets\\/(\\d+)[.]([a-f0-9]+)[.]css\\\" rel=\\\"stylesheet\\\" \\/>/","<link rel=\"stylesheet\" href=\"/assets/0.7edd634daebc547abece.css\" />","/(<script src=\\\"\\/assets\\/([a-z0-9.]+)[.]js\\\" defer><\\/script>){2,}/","<script src=\"/assets/f2b62bf153480af44130.js\"></script><script src=\"/assets/114bbb9478ed5124491c.js\"></script><script src=\"/assets/951222687740806b9513.js\"></script>"]]]]