4 ms·
> What is the best way to detect if a user has enabled uBlock or Adblock? 1. Don't. 2. If the user blocks your advertisements, then the user doesn't want them
by inetknght 3y ago
> What is the best way to detect if a user has enabled uBlock or Adblock?
1. Don't.
2. If the user blocks your advertisements, then the user doesn't want them. You should respect the user's desires.
3. If the user blocks your scripts, then the user doesn't want them. You should respect the user's desires.
4. If your site breaks because of things, then your site sucks. You should build your site to fail gracefully.
- joshmanders 3y agoOn the flip side: It's their site, they pay for the resources, provide the work, if they want to block people who block their ads, they have that right. You are not entitled to my website because I put it up.
- inetknght 3y ago> It's their site, they pay for the resources, provide the work, if they want to block people who block their ads, they have that right. > You are not entitled to my website because I put it up. Yup, I absolutely agree. But if you want people to pay for your site, then you must force users to log in to use your content. If you put your site up without a login portal then your site is free. Advertisements sent to anonymous users are not a valid option: they are easily gamed, easily abused, and easily contain malicious content. If you want to serve advertisements, that's your business, but do it to users who have clearly opted into it. If users don't want that then they won't sign up to your site. It's a win-win on both sides.
- kingstoned 3y agoI'm not trying to block people who use adblockers or make experience worse. There are other reasons why someone might want to know if some portion of users are using adblockers. I personally use uBlock. Do you know a reliable way to do it?