-
-
Notifications
You must be signed in to change notification settings - Fork 168
GitHub toggle expanders
Rob Garrison edited this page Feb 17, 2019
·
22 revisions
A userscript that toggles all expanders when one expander is shift-clicked
- This userscript works on repository commit, release and pull request pages.
- Toggle expanders (
…
)- Click to toggle a single expander as normally.
- Use Shift + Click on an expander to toggle all visible expanders on the page.
- Example page: https://github.com/torvalds/linux/commits/master (Shift + click on a commit title ellipsis).
- Outdated reviews (added v1.1.0)
- Click to toggle the outdated review as normally.
- Use Shift + Click to toggle all outdated blocks within a single review.
- Use (Ctrl or ⌘)+ Shift + Click to toggle all outdated blocks on the page.
- The script was inspired by this thread: https://github.com/dear-github/dear-github/issues/193 and pull #22.
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
- Update GitHub icon.
- Update for GitHub's details component.
- Update assets.
- Fix lint issue.
- Change license to MIT.
- Update to work in releases pages; thanks @darkred!
- Fix linting.
- Clean up
closest
function. - Use
classList
toggle.
- Target selectors inside of commit lists. Fixes issue #8.
- Initial commit.
- Fix URL.