前言介紹
- 這款 WordPress 外掛「AdsDestroyer – disable admin ad & adblocker」是 2025-09-11 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2025-12-06,距離現在已有 82 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
dashboard | White Label | hide notices | Admin notices | customization |
內容簡介
總結:AdsDestroyer 是一款能將您的 WordPress 後台轉變成乾淨、無干擾的工作空間的外掛,讓您可以精確地隱藏或移除任何不需要的元素。無論您想專注於重要任務、移除分散注意力的廣告和提示,或自定義管理介面,此外掛提供了您所需的工具。
問題與答案:
1. AdsDestroyer 提供哪些主要功能?
- 焦點與生產力:隱藏分散注意力的管理提示、促銷橫幅和不必要的使用者界面元素,以專注於工作。
- 品牌定製:從管理畫面中移除第三方品牌、API 金鑰和敏感信息。
- 乾淨介面:通過隱藏無法透過標準 WordPress 設定刪除的元素,消除混亂。
- 客戶管理:為客戶建立更乾淨的管理體驗,隱藏複雜設置和技術信息。
- 開發流程:從生產管理中刪除開發提示、調試信息和測試元素。
2. AdsDestroyer 提供了哪些關鍵特點?
- 視覺選擇模式:點擊管理導覽欄按鈕,視覺選擇要隱藏的元素。
- 智能 XPath 引擎:自動生成帶有 Chrome DevTools 風格的 XPath 生成的精確定位規則。
- 靈活時段:設置規則永久隱藏元素或特定時間段(小時、天、星期、月)。
- 安全移除:使用 HTML5 解析和占位符替換,防止佈局混亂。
- 規則管理:完整的 CRUD 介面來編輯、啟用/停用和刪除規則。
- 衝突解決:自動檢測重複規則並提供啟用現有規則的選項。
- 多站點支持:每站點或網絡範圍的規則管理。
- 性能優化:僅處理管理頁面,不影響前端性能。
原文外掛簡介
AdsDestroyer transforms your WordPress admin into a clean, distraction-free workspace by allowing you to disable admin ad elements and remove any unwanted notices with precision. Whether you want to focus on important tasks, disable admin ad banners and promotional notices, or customize your admin interface, this plugin provides the tools you need.
Perfect for:
– Focus & Productivity: Hide distracting admin notices, promotional banners, and unnecessary UI elements to concentrate on your work
– Brand Customization: Remove third-party branding, API keys, and sensitive information from admin screens
– Clean Interface: Eliminate clutter by hiding elements that can’t be removed through standard WordPress settings
– Client Management: Create cleaner admin experiences for clients by hiding complex settings and technical information
– Development Workflow: Remove development notices, debug information, and testing elements from production admin
Key Features:
– Visual Selection Mode: Click the admin bar button and visually select any element to hide
– Smart XPath Engine: Automatically generates precise targeting rules with Chrome DevTools-style XPath generation
– Flexible Duration: Set rules to hide elements forever or for specific time periods (hours, days, weeks, months)
– Safe Removal: Uses HTML5 parsing with placeholder replacement to prevent broken layouts
– Rule Management: Full CRUD interface to edit, activate/deactivate, and delete rules
– Conflict Resolution: Automatically detects duplicate rules and offers to activate existing ones
– Multisite Support: Per-site or network-wide rule management
– Performance Optimized: Only processes admin pages, never affects frontend performance
We drew inspiration from these plugins:
– Admin Menu Editor Pro
– White Label CMS
– Adminimize
– Remove Admin Notices
– Admin Columns Pro
Usage
Quick Start:
1. Activate Selection Mode: Click the “Disable ad” button in the WordPress admin bar to disable admin ad elements
2. Select Elements: Hover over any element to preview it, then click to select
3. Choose Duration: Click “Hide block” and select how long to hide the element:
– Hide forever (permanent)
– For a day (24 hours)
– For a week (7 days)
– For a month (30 days)
4. Element Hidden: The selected element disappears immediately and stays hidden based on your chosen duration
Managing Rules:
– View All Rules: Go to Settings → AdsDestroyer to see all your hidden elements
– Edit Rules: Click the edit button to modify XPath rules, add descriptions, or change expiration dates
– Toggle Rules: Activate/deactivate rules without deleting them
– Delete Rules: Remove rules you no longer need
– Reset All: Clear all rules at once if needed
Advanced Features:
– Visual Selection: The plugin automatically generates precise XPath rules using Chrome DevTools-style targeting
– Conflict Detection: If you try to hide an element that’s already hidden, the plugin offers to activate the existing rule
– Safe Removal: Uses HTML5 parsing to prevent broken layouts when hiding elements
– Page Information: Automatically tracks which page each rule was created on for better organization
Multisite
By default, settings are per site.
Optional network-wide mode (planned toggle in settings) stores options as a site option across network.
Output Buffering
This plugin uses PHP output buffering (ob_start) to process HTML content in the WordPress admin panel. The buffering is only active in the admin area and never affects the frontend of your website.
Important for hosting providers:
– The plugin does NOT use output buffering on frontend pages
– Admin panel pages are rarely cached by hosting providers due to their personalized nature
– If you have admin panel caching enabled on your hosting, it may cause conflicts with the plugin’s functionality
– If you have problems with WordPress admin panel caching. We recommend disabling admin panel caching when using this plugin
Technical details:
– The buffering is used to apply XPath rules to hide unwanted elements in the admin interface
– No impact on frontend performance or caching
Development & Build Instructions
This plugin uses modern build tools for JavaScript and CSS compilation. To build the plugin from source:
Prerequisites:
– Node.js (version 16 or higher)
– npm (comes with Node.js)
Build Commands:
– npm install – Install dependencies
– npm run build – Build production assets and create distribution package
– npm run build:dev – Build development assets (with source maps)
– npm run dev – Build development assets (alias for build:dev)
Build Process:
1. JavaScript files are compiled using Vite from assets/js/ directory
2. SCSS files are compiled to CSS from assets/scss/ directory
3. Compiled assets are output to build/ directory
4. Final distribution package is created as build/compiled/ads-destroyer-[version].zip
Source Files:
– JavaScript: assets/js/main.js, assets/js/admin-settings.js, and related modules
– SCSS: assets/scss/index.scss, assets/scss/admin-settings.scss, and component files
– Build configuration: vite.config.js, package.json
Output Structure:
– build/js/ – Compiled JavaScript files
– build/css/ – Compiled CSS files
– build/compiled/ – Distribution packages
Our Other Plugins
AI Thumbnails Maker – Automatically generate beautiful AI-powered thumbnails and force regenerate featured images for your WordPress posts. Perfect for keeping your media library fresh and professional.
SmartyPress AI Engine – Powerful AI integration for WordPress with ChatGPT and Deepseek. Generate high-quality content directly in Gutenberg editor with Magic Wand inline editing and AI Content Generator panel. Create titles, articles, excerpts with 10+ pre-built actions or custom prompts.
Unnotifier – Take complete control over WordPress admin notifications. Hide, customize, or remove any admin notice with precision. Essential for agencies managing multiple client sites or power users who value a clean interface.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「AdsDestroyer – disable admin ad & adblocker」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
trunk | 1.0.20 | 1.0.21 | 1.0.22 | 1.0.23 | 1.0.24 | 1.0.25 | 1.0.26 | 1.0.27 |
延伸相關外掛(你可能也想知道)
CleanBee – Hide Admin Notices 》總結:WP CleanBee這個外掛可以幫助管理員將WordPress儀表板保持專注,通過隱藏管理通知、外掛/佈景主題促銷橫幅和更新提示。, , ### 問題與答案:, , - **問...。
Dashboard Detox – Hide Marketing & Review Popups 》總結:Dashboard Detox 是一款可以移除 WordPress 控制面板中干擾訊息的外掛,適合開發人員、代理商和任何希望保持清爽、無干擾的 wp-admin 使用者。, , 問題...。
Dash Broom 》總結:Dash Broom 外掛可讓 wp-admin 介面保持整潔。使用者可透過單擊隱藏或切換核心和熱門插件的通知,按類型分組並顯示計數徽章。偏好設定會以使用者為單位...。
Quiet Admin – disable comments, hide notices, and clean dashboard widgets 》<!DOCTYPE html>, <html lang="zh-tw">, <head>, <meta charset="UTF-8">, </head>, <body>, , &l...。
