0

Hide calendar?

Is there any way, perhaps using some CSS magic, to hide the Calendar button in the sidebar?

2 replies

null
    • Sean
    • 1 yr ago
    • Reported - view

    Hi Kent Signorini

    I was able to run this code in Trigger after open to hide the Calendar button...

    dialog("Calendar CSS Modifier", "<script>
        var styleSheet = document.styleSheets[2];
        styleSheet.insertRule('.nav-item.head.FastClickContainer_root[title=""Calendar""]{display:none}');
        var interval = setInterval(() => {
            var bt = document.querySelector('.nx-alert .nx-button-text');
            if (bt) {
                bt.click();
                clearInterval(interval);
            }
        });
    </script>", ["close"])
    • Kent_Signorini
    • 1 yr ago
    • Reported - view

    Whoo hoo! Thanks!

Content aside

  • 1 yr agoLast active
  • 2Replies
  • 131Views
  • 2 Following