Skip to content

Instantly share code, notes, and snippets.

@jesussuarz
Created February 28, 2025 18:01
Show Gist options
  • Save jesussuarz/1b3d93236fc9bae113076d3bb3ee7a84 to your computer and use it in GitHub Desktop.
Save jesussuarz/1b3d93236fc9bae113076d3bb3ee7a84 to your computer and use it in GitHub Desktop.
🚫 Blocking Wappalyzer like a Ninja

🚫 Blocking Wappalyzer like a Ninja

Welcome, guardians of digital anonymity! πŸ•΅οΈβ€β™‚οΈ If you're here, it's because you want to prevent Wappalyzer (that nosy tool πŸ‘€) from snooping around your website and discovering what technologies you use.

🎯 What does this script do?

This stealthy code:

πŸ”₯ Removes any script injected by Wappalyzer.

πŸ”’ Blocks its attempts to analyze the DOM and global variables.

🀫 Works silently, without displaying anything in the console.

πŸš€ Blocking Code

Just copy and paste this into your HTML (before ) and let the magic happen:

<script>
setInterval(() => {
    const scripts = document.querySelectorAll("script");
    
    scripts.forEach(script => {
        if (script.innerHTML.includes("wappalyzer") || script.src.includes("wappalyzer")) {
            script.remove();
        }
    });
    
    // Block message events related to Wappalyzer
    window.addEventListener("message", (event) => {
        if (event.data && event.data.wappalyzer) {
            event.stopImmediatePropagation();
        }
    }, true);
}, 1000);
</script>

🎭 Why use it?

Wappalyzer scans your site to detect frameworks, CMSs, servers, and more... but with this script: βœ… It will go blind πŸ€“ βœ… Your technology will stay in the shadows πŸŒ‘ βœ… No one will know if you use WordPress, Laravel, or dark magic πŸ§™β€β™‚οΈ

πŸ”„ Important: Clear the Plugin Cache

For this to work, you must clear Wappalyzer's cache. The plugin stores detected technologies and loads them from cache instead of scanning again. To clear the cache:

πŸ‘‰ Open this URL in your browser:

chrome-extension://gppongmhjkpfnbhagpmjfkannfbllamg/html/options.html

After clearing the cache, Wappalyzer will reload and get blocked immediately. Keep in mind that users who already had technologies loaded will have them cached, but over time, this cache will clear, and they will no longer see the detected technologies.

⚠️ Disclaimer

This script won't make you invincible (always keep your systems updated), but at least it will make Wappalyzer stumble upon a locked door πŸšͺ❌.

May anonymity be with you! πŸ¦‡βœ¨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment