Created
February 7, 2024 21:41
-
-
Save ap1969/2e6e922d7d988847eb094a2dd1e2c865 to your computer and use it in GitHub Desktop.
Bookmarklet to automatically click on Asana's "Show More"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function clickElementWithDelay() { var targetElement = document.querySelector('#asana_sidebar > div.SidebarResizableContainer-sidebarWrapper > div > div.CustomScrollbarScrollable.Sidebar-customScrollbarScrollable > div.Scrollable--withCompositingLayer.Scrollable.Scrollable--vertical.CustomScrollbarScrollable-scrollable > div.CustomScrollbarScrollable-content > div > div:nth-child(3) > nav > div:nth-child(2) > div > div.ThemeableRectangularButtonPresentation--isEnabled.ThemeableRectangularButtonPresentation.ThemeableRectangularButtonPresentation--medium.SubtleButton--inverseTheme.SubtleButton.SidebarProjectsSectionProjectList-showMoreButton'); if (targetElement) { targetElement.click(); setTimeout(clickElementWithDelay, 250); } })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment