Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Anti-block

Aprašymas

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.

Ekrano nuotraukos

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

Diegimas

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

DUK

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 🙁

Atsiliepimai

8 rugsėjo, 2017
And finally an plugin for block adblocker run! but wait, it block always! haha Run in firefox, opera, explorer… but block always!!
Perskaityti visus atsiliepimus (4)

Programuotojai ir komandos nariai

“Anti-block” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

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.