前言介紹
- 這款 WordPress 外掛「AdsDestroyer – disable admin ad & adblocker」是 2025-09-11 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-09-13,距離現在已有 1 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
ad | hide | focus | disable | notices |
內容簡介
總結: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 hide or remove any unwanted elements with precision. Whether you want to focus on important tasks, remove distracting ads and 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
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
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「AdsDestroyer – disable admin ad & adblocker」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Media Focus Point 》總結:該外掛可幫助您管理圖片和影片背景,設定特定焦點,即使圖像或影片被調整大小或背景更改時,焦點會確保所選區域保持可見並置中。不論您使用響應式佈局...。
FL3R Accessibility Suite 》FL3R Accessibility Suite為您的WordPress網站的訪客添加了一個無障礙控制面板。它是專門為視力障礙者設計的。, 允許訪客:, * 更改網站的文本大小, * 選擇五...。Image Focus Point 》Image Focus Point 是一款 WordPress 外掛,可以設置圖片的焦點位置。特別適用於使用裁剪版的文章或頁面特色圖像的佈景主題。, 當需要裁剪圖片時,如果設置了...。
Highlight Focus 》按下 Tab 鍵時,突顯焦點元素,讓您可以輕鬆追踪它。, 功能:, , 設置效果持續時間(毫秒), 設置隱藏延遲時間(毫秒), 選擇突顯元素的背景和邊框顏色, 設置...。
Keyword Analyzer 》Keyword Analyzer 是最新設計的外掛程式,旨在顯示網頁中使用的所有 SEO 關鍵字。此外,該外掛還可用黃色和紅色顏色突顯重複的關鍵字。使用者還可以下載所有...。Drafty In Here 》透過此外掛,您可以收到電子郵件通知,提醒您 WordPress 網誌中待發佈的草稿文章。, 當您因各種原因中斷了寫作,此外掛將會在您設定的時間內寄送友善的電子郵...。
Focus Mode – Reading Experience Optimizer 》以下為總結文案:, 「Focus Mode外掛為WordPress文章和頁面提供專注閱讀體驗。當啟用時,該外掛隱藏網站頭部等元素,讓用戶集中注意力於內容上。每篇文章或頁...。
Writing Miro 》這是一款完全不分心的 WordPress 寫作外掛,能夠消除任何在寫作過程中的阻礙。, 您只需專注於寫作,其他都交給這款外掛處理。, 其一些特點包括:, , “...。Clear Fields 》這個外掛可以在聚焦到表單欄位時清除現有的內容,如果沒有輸入新的內容,則會自動填充先前的內容。, 注意:這個外掛需要 jQuery,如果你在模版中手動引用了 j...。
