這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Anti-block

描述

I created this plugin initially because I noticed that some ad-blocking software was blocking more than just my ads, they were also blocking random elements on my site like my image sliders as well. But obviously this will serve the guys who want it just for the purpose of notifying visitors who block ads to stop doing so.

This plugin displays a nice notice to them explaining the situation.
The interface has two options, the okay button will reload the page upon clicking it (hopefully they would have disabled ad-block), the other button will simply close the message box. If the option to stop nagging visitors for the entire duration of their session on your website is set, then upon clicking the decline button, the message will only show again next time they visit your website.

螢幕截圖

  • Example of settings screen where you edit plugin settings.
  • Example of how the message looks when showed to a visitor of your website.

安裝

This plugin is easy to install, just do the following.

  1. Unzip the plugin to your wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Amend the plugin settings under Settings –> Anti-block

常見問題

Does this plugin add to my page load time?

No, this plugin only runs when the footer of the page is loaded, by then all your content would have been loaded already.

Can I make my the visitor’s screen explode when they block my ads?

Sadly, no 🙁

評價

2017年9月8日
And finally an plugin for block adblocker run! but wait, it block always! haha Run in firefox, opera, explorer… but block always!!
閱讀全部4個評價

貢獻者及開發者

“Anti-block” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Anti-block 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.6

  • Adblock Plus is getting clever and worked around the method I used to detect them. Had to implement a fix.

1.0.5

  • CSS broke and showed “An Advertisment” in WP-admin.

1.0.4

  • Fixed a few bugs. Now works in WordPress 4.0

1.0.3

  • Bug fix for 1.0.2

1.0.2

  • Added the ability to allow your visitor to hide the pop-up message for the rest of their session if you enabled this in the admin settings.

1.0.1

  • Added hooks to remove data when plugin is uninstalled.

1.0.0

  • This is our first version of the plugin.