Repository navigation
Protocol Memory Integration v1.1.0
Protocol Memory Site Integration Library
What's New in v1.1.0
Section Visibility Control
Sections now automatically hide when no data is available, giving users full control over their public profile appearance.
| Section | Hidden When |
|---|---|
| Current State | User toggles off or no data |
| About | User toggles off and no avatar/bio |
| Active Notes | User toggles off or no seeds |
| Expertise | User toggles off or no contexts |
Technical Details
- Library adds
pm-section-hiddenclass when section has no data - CSS uses
:has()selector to hide entire parent section - Browser support: Chrome 105+, Safari 15.4+, Firefox 121+
Usage
<script src="https://cdn.jsdelivr.net/gh/phillipclapham/protocol-memory-integration@1.1.0/protocol-integration.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/phillipclapham/protocol-memory-integration@1.1.0/protocol-memory.css">
<script>
const integration = new ProtocolIntegration('your-username');
integration.init();
</script>