Skip to content

Instantly share code, notes, and snippets.

@lharp
Last active October 23, 2025 12:08
Show Gist options
  • Select an option

  • Save lharp/3abbac2eceb0f1256cc956319decd19a to your computer and use it in GitHub Desktop.

Select an option

Save lharp/3abbac2eceb0f1256cc956319decd19a to your computer and use it in GitHub Desktop.
Systeme.io Badge Hide Script
<script type="text/javascript">
const selector = '.AffiliateBadgeUi-sc-wzepun-0.eLxzBA';
const observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
if (mutation.addedNodes) {
mutation.addedNodes.forEach(node => {
if ((node.nodeType === Node.ELEMENT_NODE) && node.querySelector(selector)) {
node.querySelector(selector).style.display = 'none';
}
});
}
});
});
observer.observe(document.body, { childList: true, subtree: true });
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment