# How to continue to use duolingo treeview (2023.01.27) ## Browser The method has been tested on desktop chrome Version 108.0.5359.124 official build. ## How ### step 1: open chrome developer tools On Windows or Linux: F12 On MacOS: fn + F12 *do not close the developer tools in the following steps.* ### step 2: slow down the network speed artificially Click the `Network` tab, change the throttling setting from `No throttling` to `Slow 3G`. Also make sure `Disable cache` is checked. ![](https://i.imgur.com/UL7VaQv.png) ### step 3: load the app javascript file Paste https://www-internal.duolingo.com/learn into the address bar, press enter to start to load the site. Go to the `Sources` tab, while the site is still loading, click the pause the script button. ![](https://i.imgur.com/xJk8L7y.png) If the javascript file with a name starting with "app-" has not appeared yet, use the step buttons next to the pause button to load the site piece by piece, until you see the "app-" file. In my case, the file is "app-283868d5.js". ### step 4: modify the app javascript file In the "app-" file, locate the following code: ```javascript he.h&&console.log("Showing only plain info"),document.documentElement.lang=window.duo.uiLanguage,"true"!==(0,oe.ej)(oe.Vj.RedirectToPreview)||window.location.host===me.Vb||window.location.host===me.a_||b.NY()||(0,me.Zs)((0,me.gg)(window.location.href),!0),["join.duolingo.com","www-internal.duolingo.com"].includes(window.location.host)&&(0,me.Zs)(window.location.href.replace(window.location.host,me.Z2)); ``` Modify it to (you basically need to delete a bunch of re-directing related sentences): ```javascript he.h&&console.log("Showing only plain info"),document.documentElement.lang=window.duo.uiLanguage,"true"!==(0,oe.ej)(oe.Vj.RedirectToPreview)||window.location.host===me.Vb||window.location.host===me.a_; ``` Save the modified file (on MacOS: command + S, on windows: control + S). If the file is successfully saved, a purple dot will appear. Make sure that `Enable Local Override` checkbox is checked in the `Overrides` tab. ![](https://i.imgur.com/8ZPlNGp.png) ### step 5: reload the www-internal.duolingo.com *Do not close the developer tools! whenever you want to use the tree view, you have to have the developer tools enabled because you need to load the modified local javascript file.* Reverse step 2 by turning `slow 3G` back to `No throttling`. Paste https://www-internal.duolingo.com/learn into the address bar. press enter to reload. Ignore errors appearing in the developer console. Feel free to push the developer tools to the right corner so you have a larger working area :) ![](https://i.imgur.com/KzTR3qe.png) ###### tags: `外语`