Confluence - remember opened branches in pagetree
Confluence does not remember which branches of the pagetree you opened - this script records the opened and closed branches in LocalStorage and restores them on page change, reload or on other tabs/windows