sitexw / FuckAdBlock

Detects ad blockers (AdBlock, ...)
fuckadblock.sitexw.fr
MIT License
1.9k stars 255 forks source link

Production #3

Closed lexoyo closed 9 years ago

lexoyo commented 10 years ago

Hello Is this script ready to use in production? Is it used by a company already?

sitexw commented 10 years ago

Hello Lexoyo, Yes it is quite usable in production. I know that some people use it (https://github.com/sitexw/FuckAdBlock/stargazers) but I not sure how many exactly. For my part I use it on my sites with high traffics (more than 1.1 million visitors per month with more than 3 pages per visit) and there is no problem.

lexoyo commented 10 years ago

Nice!

For my part I use it on my sites with high traffics

So you use it to detect adblock right? What do you do when your ads are blocked?

sitexw commented 10 years ago

I use it for detect AdBlock in less than 200 ms. I impose a waiting time (45 seconds) to users for access the content.

lexoyo commented 10 years ago

And then what, you remove the content after 45s? You display a message to explain why? Is it possible for you to provide a link to one of the sites? I like the idea and we may use this here @ebuzzing and then contribute :)

On Mon, Mar 31, 2014 at 3:17 PM, Valentin notifications@github.com wrote:

I use it for detect AdBlock in less than 200 ms. I impose a waiting time (45 seconds) to users for access the content.

— Reply to this email directly or view it on GitHubhttps://github.com/sitexw/FuckAdBlock/issues/3#issuecomment-39086688 .

If you want to keep in touch with Silex Labs subscribe herehttp://eepurl.com/MCCDP

sitexw commented 10 years ago

No, it's the opposite, I hide the content with a message explaining the reasons for blocking and a link to a quick tutorial to create an exception AdBlock on the site. And at the end of the 45 seconds contained appears. Link to a site, it bothers me a bit of the broadcast here, I send it via private message. For @ebuzzing, there is no problem, it would be cool.

lexoyo commented 10 years ago

Great, thx!

shajiquan commented 10 years ago

Great Job, thanks!

adrianpoix commented 9 years ago

Careful in production, it's not cross browser with ie < 9. window.addEventListener('load', function() doesn't work. You should use window.onload = function() instead. Great job anyway ;)

sitexw commented 9 years ago

Thank you for having seen and said. I just fix it (v3.0.2).