[WordPress] 外掛分享: AdsDestroyer – disable admin ad & adblocker

前言介紹

  • 這款 WordPress 外掛「AdsDestroyer – disable admin ad & adblocker」是 2025-09-11 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-12-06,距離現在已有 81 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

wpaifactory | alexkovalevv |

外掛標籤

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 |

延伸相關外掛(你可能也想知道)

  • Adminimize 》如果您管理多位作者的 WordPress 博客或為客戶管理 WordPress 網站,您可能會想知道是否有可能清理 WordPress 管理區域以便您的用戶使用?WordPress 管理區域...。
  • Favicon Rotator 》Favicon Rotator 外掛能夠讓您輕鬆客製化您網站上的圖示。只需透過管理頁面新增 favicon,並在每次訪客訪問您的網站時展示。, 亮點, , 新功能:為觸控裝置(A...。
  • Custom Login 》Custom Login 3.0比2.0版本快200%,4.0版本現在更好!, 了解更多信息,請訪問官方的Custom Login頁面。, , 支援, 奧斯汀和Frosty Media團隊將盡力支援WordP...。
  • YITH Custom Login 》安裝這個外掛,改變 WordPress 登入的預設風格。為您的網站登入頁面設置漂亮的風格,並根據您的風格進行自定義!, 完整的文檔在這裡提供。, 安裝, 一旦您安裝...。
  • Ultrapress 》lugins you need are not compatible with each other, which is why Ultrapress was developed. It is a suite of tools designed for WordPress developers...。
  • Customize My Account Page For WooCommerce 》### WooCommerce 我的帳戶頁面自定義, , - **修改 WooCommerce 預設端點:**, - 輕鬆修改或停用預設 WooCommerce 端點:控制台、訂單、下載、地址、付款...。
  • Admin Customizer 》這個外掛程式允許您自定義 WordPress 網站的管理介面,這個單一外掛程式提供多種選項。, 功能, , 變更管理頁首的標誌, 自訂管理頁面和登入頁面的 CSS 樣式, ...。
  • WIP Custom Login 》WIP Custom Login 可以讓您自定義 WordPress 的登入區域,您能夠取代管理員 WordPress 徽章、設定背景圖片等等。, , 高級功能。, , 預設外觀, 您可以設定預...。
  • Visual Admin Customizer 》使用可視的點擊式編輯器,隱藏 WordPress 管理區域中的幾乎任何部分。您可以將內容隱藏給所有使用者,或是只隱藏給特定角色的使用者。您還可以為 WordPress ...。
  • WP Colorful Tag Cloud 》WP Colorful Tag Cloud 可以讓您展示一個漂亮的標籤雲,使用不同的顏色。, 顏色是可定制的,取決於標籤的權重(表示發生次數)和大小。, 還有許多其他的自定...。
  • Global Meta Box Order 》這個外掛可以直覺地調節 WordPress 安裝的後台使用者的元框位置和畫面欄位配置。, 功能簡介, , 安裝並啟用外掛, 進入一篇文章、頁面、自訂文章型別或儀表板, ...。
  • Quick Localization (Quick Localisation) 》Quick Localisation 可以在 gettext、gettext_with_context、ngettext 和 ngettext_with_context 上處理鉤子,以便可以輕鬆調整由函式 __、_e、_ex、_n、_nx...。
  • Ultimate Colors 》Ultimate Colors 是一個能夠協助 WordPress 使用者即使沒有程式經驗也能夠改變 WordPress 網站顏色的外掛,它可以與任何主題配合使用並且整合 WordPress 自訂...。
  • Print Science Designer 》此外掛連結 WooCommerce 與 Print Science Designer,讓消費者能夠在網路上設計及客製化商品。使用此外掛需先安裝 WooCommerce。, Print Science Designer 讓...。
  • Easy Genesis (formerly Genesis Simple Customizations) 》Easy Genesis 外掛可讓您在不需編寫自訂程式碼的情況下,對 Genesis 主題框架驅動的網站做許多自定義和設置修改。您必須使用 Genesis 主題框架的 2.2 或更高...。

文章
Filter
Mastodon