AdBlock Detection [anti-AdBlock] 2.0.5 – Xenforo 2

The AdBlock Detection [anti-AdBlock] 2.0.5 add-on for XenForo 2 is designed to detect users who are running AdBlockers (like uBlock Origin, AdBlock Plus, etc.) and take specific actions — such as showing a notice, blocking access, or encouraging ad whitelist permissions.

This is particularly useful for forums that rely on ad revenue and want to politely encourage users to support the site by disabling their ad blockers.


🚫 Key Features of anti-AdBlock 2.0.5:

  1. Real-Time AdBlock Detection
    • Uses JavaScript to detect common ad-blocking behavior
    • Supports all major ad-block extensions and browser-level blockers
  2. Customizable Warning Notice
    • Show a fully custom message to AdBlock users
    • Rich text formatting supported (can include links, images, styling)
  3. Multiple Action Options
    • Choose what happens when AdBlock is detected:
      • Display a dismissible notice
      • Block access to the site or content until AdBlock is disabled
      • Redirect to a specific page (e.g., a support or FAQ page)
      • Delay content loading
  4. User Group Exceptions
    • Exclude certain user groups (e.g., VIPs, staff, logged-in members) from detection
  5. Page-Specific Control
    • Enable detection only on certain nodes or pages (e.g., homepage, threads, resources)
  6. AJAX Support
    • Works with dynamic content loads and is compatible with XenForo’s modern JS framework
  7. Lightweight & Optimized
    • Minimal performance impact, with asynchronous loading

🧰 Use Cases:

Site TypeUsage Example
Ad-supported forumsPolitely prompt users to whitelist ads
Premium forumsBlock content and encourage upgrades
Download/resourceRestrict access until AdBlock is disabled

📝 Example Message (Customizable):

⚠️ We noticed you’re using an AdBlocker.
Our forum relies on ads to keep content free. Please consider whitelisting us or supporting us another way. 🙏


🧩 Integration & Compatibility:

  • Compatible with XenForo 2.2+
  • Works alongside other monetization tools like Google AdSense, Affiliate ads, or self-hosted banners
  • Can be styled to match your forum theme

Would you like help crafting a custom message for AdBlock users or setting up conditional rules (e.g., only show to guests)?

Leave a Reply

Your email address will not be published. Required fields are marked *