I think it's cached data is involved too. Mine was working up until today on one browser (Chrome) but had stopped working on my two other browsers. I tried importing Chrome's settings into one of the other browsers and Chrome also stopped working, no idea why because I was very careful and my understanding was that Chrome should not have been affected and that the settings are just copied across. It's very frustrating. :/ Either the tree script has no effect or I get a blank page with buffering. Hoping there must be some way around it though?
Please, make sure that you read our Forum Guidelines.
You can use any username that you like when you join duome forum, yet it's better if you use your existing Duolingo username to unlock some extra features and avoid confusion while troubleshooting; in any case it's advised that you choose a different password for the forum.
~ Duome Team
Userscript to restore Duolingo tree
Re: Userscript to restore Duolingo tree
I found the problem. The failed API is for retrieving user data (https://www.duolingo.com/2017-06-30/users/<User ID>). It fails because a field being requested appears to no longer be available. The field is related to streak (seemingly streak repair), not the tree, so the tree is not gone (yet), and this problem should be fixable.
I will update the script later, with a fix for this problem and some new features.
Re: Userscript to restore Duolingo tree
kyleyu wrote: Thu Feb 06, 2025 9:36 pmI found the problem. The failed API is for retrieving user data (https://www.duolingo.com/2017-06-30/users/<User ID>). It fails because a field being requested appears to no longer be available. The field is related to streak (seemingly streak repair), not the tree, so the tree is not gone (yet), and this problem should be fixable.
I will update the script later, with a fix for this problem and some new features.
Thank you
Re: Userscript to restore Duolingo tree
Update:
- Fix for loading issue after API change
- Option to remove cartoon characters in challenges
- Option to restore old (non-character) TTS (may not work for all challenge types)
Re: Userscript to restore Duolingo tree
Thank you, it works (not that I need to say that) and I'm very grateful!
- PtolemysXX
-
PtolemysXX
Post #100000 Award - Post #100000 Award
- Posts: 2071
- Joined: Sat Oct 22, 2022 11:03 pm
- Location: Rakousko
- Duolingo: PtolemysXX
- Has thanked: 1843 times
- Been thanked: 2470 times
Re: Userscript to restore Duolingo tree
Removing cartoon characters and restoring old TTS is a great feature. Bye bye squeaky Junior and Zari .
-
- TheMitchy27
- Posts: 7
- Joined: Sun Sep 03, 2023 5:51 am
- Duolingo: TheMitchy27
- Has thanked: 2 times
- Been thanked: 5 times
Re: Userscript to restore Duolingo tree
Unable to access these 2 skills despite completing all valid skills before it.
Checkpoints also do not work.
EN -> JP
- Attachments
-
- duoling_userscript_issue.PNG (34.25 KiB) Viewed 1070 times
- PtolemysXX
-
PtolemysXX
Post #100000 Award - Post #100000 Award
- Posts: 2071
- Joined: Sat Oct 22, 2022 11:03 pm
- Location: Rakousko
- Duolingo: PtolemysXX
- Has thanked: 1843 times
- Been thanked: 2470 times
Re: Userscript to restore Duolingo tree
It seems like these bonus skills are on the way. Have you tried to jump to the "Countries" skill on the path? This might unlock the skill on the tree.
Re: Userscript to restore Duolingo tree
Re access to the two skills, it might be worth switching to another browser. I have found that this sometimes helps if progress seems to be blocked.
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
@TheproPolyglot
Have you manually updated the userscript (edit the script in the editor in your Tampermonkey repository) to V1.01 (copy and paste) yet?
It's actually working for me here on Firefox Nightly@Android to display the /learn page.
Even the version before worked.
What doesn't work specifically? To start a lesson? To finish grading?
Are any errors in the Web console in the Developer Tools (Firefox: F12 / Ctrl+Shift+K) shown?
On Chrome (desktop) it's Ctrl+Shift+I hotkeys to open the Web console.
You'll need to check for red html/JavaScript errors particularly.
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
Hi,
TheMitchy27 wrote: Sun Feb 09, 2025 8:17 pmUnable to access these 2 skills despite completing all valid skills before it.
Bonus skills can't be accessed anymore.
I've moved my longer comment about your updated JP course and lost tree progress (back to L0 crown skills with marked missing lessons) into the other warning thread to keep this userscript news/troubleshooting thread clean:
viewtopic.php?p=120477-warning-about-in ... ch#p120477
AFAIK skill /test and checkpoint /bigtest URLs have be removed by DL staff in the backend code and web server mapping.
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
Re: Userscript to restore Duolingo tree
Thomas.Heiss wrote: Fri Feb 21, 2025 3:02 pm@TheproPolyglot
Have you manually updated the userscript (edit the script in the editor in your Tampermonkey repository) to V1.01 (copy and paste) yet?
It's actually working for me here on Firefox Nightly@Android to display the /learn page.
Even the version before worked.What doesn't work specifically? To start a lesson? To finish grading?
Are any errors in the Web console in the Developer Tools (Firefox: F12 / Ctrl+Shift+K) shown?
On Chrome (desktop) it's Ctrl+Shift+I hotkeys to open the Web console.You'll need to check for red html/JavaScript errors particularly.
Hello Thomas, I tried all the methods to get tree Fiddler and TamperMonkey method both show that the old users/{uid} endpoint isn't working in the Browser console. Tried on Chrome (Fiddler) and Edge (TamperMonkey). I installed the old android app on my Android 4.4.2 tablet and Android 7 phone, but it didn't work. Thanks for the guidance.
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
TheproPolyglot wrote: Sat Feb 22, 2025 6:06 amI installed the old Android app on my Android 4.4.2 tablet and Android 7 phone, but it didn't work.
There is no app version left with the good old tree design.
I answered you here:
viewtopic.php?p=120531-differences-and- ... ee#p120531
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
TheproPolyglot wrote: Sat Feb 22, 2025 6:06 amThomas.Heiss wrote: Fri Feb 21, 2025 3:02 pm@TheproPolyglot
Have you manually updated the userscript (edit the script in the editor in your Tampermonkey repository) to V1.01 (copy and paste) yet?
I tried all the methods to get tree Fiddler and TamperMonkey method both show that the old users/{uid} endpoint isn't working in the browser console.
Tried on Chrome (Fiddler) and Edge (TamperMonkey).
You need to update to V1.01:
viewtopic.php?p=119892-userscript-to-re ... ee#p119892
Or try it with Firefox or Firefox Nightly.
Maybe I can re-test it on Edge@Windows with Tampermonkey.
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
Re: Userscript to restore Duolingo tree
kyleyu wrote: Thu Feb 06, 2025 9:36 pmI found the problem. The failed API is for retrieving user data (https://www.duolingo.com/2017-06-30/users/<User ID>). It fails because a field being requested appears to no longer be available. The field is related to streak (seemingly streak repair), not the tree, so the tree is not gone (yet), and this problem should be fixable.
I will update the script later, with a fix for this problem and some new features.
@Thomas.Heiss
But for me it is still showing 500!
Headers: GET
https://preview.duolingo.com/2017-06-30 ... 0223648937
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
@TheproPolyglot
I tested it with the last two Edge (Chromium) V133 builds.
I also ran into a blank page and this ominous 500 http error one or two times.
I simply closed everything, restarted, loaded the Duolingo.com website (the path loaded) and then I reloaded the www.duolingo.com/learn website and all is well.
My advice:
- 1) Disable Tampermonkey
- 2) clear all Duolingo.com browser cookies, clear the cache
- 3) restart the browsers
- 4) relogin to www.duolingo.com with username and password
- 5) make sure the path UI is loaded
- 6) re-enable the Tampermonkey extension
- 7) make sure that the userscript V1.01 is loaded (copy and paste of the new code / Click Save in the Tampermonkey editor)
- 8) Open the www.duolingo.com/learn website to trigger the old tree design
If you again get this http 500 error: Close all the tabs, restart the browser, reload the www.duolingo.com/learn old website one, two or three times.
Interestingly, I didn't notice any related Web console errors for the user id; the one I see are 404 and other Duolingo Urls.
When opening the Url you posted I always receive an empty page with [] on the Windows Pc with Edge, on Chrome stable and Dev release or Firefox Nightly (all three on Android).
So it's not a serious issue related to Edge/Chromium.
More likely that your Duolingo session_id / login token is giving you a hard time.
It's a good idea to renew all the cookies and to get rid of the current cookies.
..(...)..
Note: I was using an Incognito window on Edge. To do this I had to allow Tampermonkey to work in PRIVATE mode.
Will have to retry in normal/public mode.
Switching to Firefox might help as this will install a clear/empty user profile and Chrome/Edge/Chromium and Firefox usually don't share the very same user directory
(yours might be defective or old duolingo.com not valid anymore).
Anyway, it's a good idea to do the tab reload multiple times, do restart the browsers a few times.
Or you can try the Incognito mode testwise (ehich requires a new login to the Duolingo.com website).
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
@TheproPolyglot
Why do you see a preview.duolingo.com domain?
Don't you open www.duolingo.com/learn?
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
I also noticed that I specifically had to enable the developer mode within Edge to get Tampermonkey running in general.
This is an option in the extensions menu when you click on the three ... menu dots on the upper left side.
I guess you have already done this or else Tampermonkey gives a warning and refuses to run any scripts.
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
- duome
-
duome
Admin - Admin
- Posts: 1506
- Joined: Wed Feb 09, 2022 7:08 am
- Has thanked: 488 times
- Been thanked: 2010 times
Re: Userscript to restore Duolingo tree
Regardless of subdomain (preview or not), when there's a blank page, it usually means some parivacy settings are in place - double check this at both duolingo.com and schools.duolingo.com - "Enable social profiles and leagues" should be ticked if you ever used duolingo for schools.
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
Re: Userscript to restore Duolingo tree
Thomas.Heiss wrote: Sat Feb 22, 2025 5:20 pm@TheproPolyglot
Why do you see a preview.duolingo.com domain?
Don't you open www.duolingo.com/learn?
OK, sorry! I realised that I have to disable preview for it to work. However, it worked fine for many days in preview mode. Now it stopped working in preview mode, this means that in very near future they'll kill the tree.
- PtolemysXX
-
PtolemysXX
Post #100000 Award - Post #100000 Award
- Posts: 2071
- Joined: Sat Oct 22, 2022 11:03 pm
- Location: Rakousko
- Duolingo: PtolemysXX
- Has thanked: 1843 times
- Been thanked: 2470 times
Re: Userscript to restore Duolingo tree
A cool thing about the "tree restorer" script is that it may give you a funny number of crowns:
screenshot
It appears I should be placed as number one in the "Crown Hall of Fame"
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
Re: Userscript to restore Duolingo tree
make sure you're not on a beta or preview version. Duolingo is removing these old databases slowly. It's been removed from the beta/preview version, so after they roll out the release from preview version to regular version, this userscript will stop working.
- Thomas.Heiss
-
Thomas.Heiss
1000 - 1000
- Posts: 1822
- Joined: Thu Feb 17, 2022 1:35 am
- Location: Germany
- Duolingo: Thomas.Heiss
- Has thanked: 354 times
- Been thanked: 1382 times
Re: Userscript to restore Duolingo tree
@kyleyu
TheproPolyglot wrote: Wed Mar 12, 2025 5:09 ammake sure you're not on a beta or preview version.
Duolingo is removing these old databases slowly.
It's been removed from the beta/preview version, so after they roll out the release from preview version to regular version, this userscript will stop working.
Is there something which can be done for your userscript or Fiddler to manually download any dependent html/JavaScript/3rd party resources to keep the userscript running for a longer while?
If the static old html code relies on specific files (e.g. includes) it might be better to also archive all of them?!?
Or does this mean in the end all tree functionality is lost for /skill/* urls?
A lot of /skill/xyz/test and /bigtest checkpoint urls are completely dead already.
Best regards
Native |
Upper-B2 (BritishCouncil) |
L25 (Duo) / A2 (6+y, McGraw-Hill) - Learning (Busuu):
(A1 McGraw-Hill) |
(interm.)
Re: Userscript to restore Duolingo tree
hi, it's stopped working for me today, as has Fiddler, sadly.
-
- TheproPolyglot
- Posts: 13
- Joined: Mon Sep 09, 2024 4:12 pm
- Duolingo: TheproPolyglot
- Has thanked: 1 time
- Been thanked: 2 times
Re: Userscript to restore Duolingo tree
capitainflint wrote: Wed Mar 26, 2025 9:26 amhi, it's stopped working for me today, as has Fiddler, sadly.
You'll need to reload it to make it work. Fiddler isn't working for many days, just leave it. It'll no longer work. Userscript only works on non-preview-non-beta version.