Last active
October 23, 2025 12:08
-
-
Save lharp/3abbac2eceb0f1256cc956319decd19a to your computer and use it in GitHub Desktop.
Systeme.io Badge Hide Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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