Created
October 3, 2025 19:28
-
-
Save t0qen/c40867a82287be3888860c1b15ddaa7b to your computer and use it in GitHub Desktop.
Spotlight snapchat.com remover
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
| // Remove spotlight button on snapchat.com | |
| function removeElements() { | |
| const elements = document.querySelectorAll('.kxqcc'); | |
| elements.forEach(el => el.remove()); | |
| if (elements.length > 0) { | |
| console.log(`${elements.length} élément(s) avec la classe kxqcc supprimé(s)`); | |
| } | |
| } | |
| removeElements(); | |
| const observer = new MutationObserver(() => { | |
| removeElements(); | |
| }); | |
| observer.observe(document.body, { | |
| childList: true, | |
| subtree: true | |
| }); | |
| console.log('Extension Snapchat Element Remover active'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment