Skip to content

Instantly share code, notes, and snippets.

@scottishwildcat
Created December 9, 2020 16:20
Show Gist options
  • Save scottishwildcat/e86ad16be2b8f30eeb850643480ff1a9 to your computer and use it in GitHub Desktop.
Save scottishwildcat/e86ad16be2b8f30eeb850643480ff1a9 to your computer and use it in GitHub Desktop.
Bookmarklet to expand all collapsed expanders on a Confluence page
javascript:function expandAll(){
c=$('.expand-container');
c.children('.expand-content').toggleClass('expand-hidden').css('display','block').css('opacity','1');
c.children('.expand-control').children('.expand-icon').removeClass("aui-iconfont-chevron-right").addClass("aui-iconfont-chevron-down");
}
expandAll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment