{"id":1416,"date":"2017-12-21T11:23:34","date_gmt":"2017-12-21T15:23:34","guid":{"rendered":"http:\/\/www.blogseye.com\/?p=1416"},"modified":"2017-12-21T11:23:34","modified_gmt":"2017-12-21T15:23:34","slug":"ad-block-nag-script","status":"publish","type":"post","link":"http:\/\/blogseye\/2017\/12\/ad-block-nag-script.html","title":{"rendered":"Ad block Nag Script"},"content":{"rendered":"

I made a little plugin that loads some javascript that detects ad blockers and puts up a nag box at the top of the page.<\/p>\n

It can be found at: Beta test Plugins<\/a>.<\/p>\n

I did not make it configurable, so you have to manually edit the message if you don’t like the stupid one that I put there.<\/p>\n

One nice thing is that you can grab just the javascript file after you download the plugin and unzip it, and use it on any page, even ones that are not WordPress pages.<\/p>\n

Ad Blockers are continually adding to their filters to prevent this kind of script, but for now it works with uBlock, and that’s pretty good.<\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

I made a little plugin that loads some javascript that detects ad blockers and puts up a nag box at the top of the page. It can be found at: Beta test Plugins. I did not make it configurable, so you have to manually edit the message if you don’t like the stupid one that […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts\/1416"}],"collection":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/comments?post=1416"}],"version-history":[{"count":1,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts\/1416\/revisions"}],"predecessor-version":[{"id":1418,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/posts\/1416\/revisions\/1418"}],"wp:attachment":[{"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/media?parent=1416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/categories?post=1416"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blogseye\/wp-json\/wp\/v2\/tags?post=1416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}