Edge/Chrome extension that enables the table of contents sidebar on https://learn.microsoft.com to be collapsed and automatically expands down the article's table of contents on the right.
A button is automatically added to pages within https://learn.microsoft.com. The button allows the left sidebar to be collapsed/expanded, creating more room to read the content.
- Edge: https://microsoftedge.microsoft.com/addons/detail/hnjdejdpeeojbipggdjdpfdcononmbpn
- Chrome: https://chrome.google.com/webstore/detail/gbjnfidofpopojdljkkmkgfnlibpeiff
- This method requires enabling developer mode in chrome://extensions or edge://extensions on your workstation
- Download/clone this repository to your machine
- Open chrome://extensions or edge://extensions and click Load Unpacked
- Select the root folder for the repository
- This methods requires enabling developer mode in chrome://extensions on your workstation
- Go to https://github.com/dzsquared/MSDocsSidebarCollapser/releases and download the latest release
- Open chrome://extensions and drag the downloaded crx file onto the page
Thanks to @BrunoBlanes for adding jQuery to the extension after it was removed from MS Docs.
- Adds learn.microsoft.com to the supported URLs
- Automatically expands the right table of contents ("show more") on load
- Adds jQuery
- Adds a button to the page for expanding/collapsing