Blocking Adblock users?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
mll
Registered User
Posts: 16
Joined: Fri Dec 06, 2019 8:14 am

Blocking Adblock users?

Post by mll »

Hi.
There is a script to block adblock users, and it is on this site https://blockadblock.com/.
However, when I add it in overal header or footer I am getting error Uncaught SyntaxError: Unexpected token '}'

This is my forum link: https://forum.mllapan.com/

Is there an solution for this?
User avatar
david63
Registered User
Posts: 18446
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Blocking Adblock users?

Post by david63 »

mll wrote:
Wed Sep 23, 2020 9:19 pm
Is there an solution for this?
Ask at the place where you downloaded the script.

Out of interest why do you want to override a user's choice to not show ads on your site?

Any site that I visit that does not allow me to blocks ads I just walk away from.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
mll
Registered User
Posts: 16
Joined: Fri Dec 06, 2019 8:14 am

Re: Blocking Adblock users?

Post by mll »

Ask at the place where you downloaded the script.

Out of interest why do you want to override a user's choice to not show ads on your site?

Any site that I visit that does not allow me to blocks ads I just walk away from.
Thanks for the answer.
The script itself works, I have it implemented into WordPress, so I don't think that other site is the right place to ask.

I was not blocking this on main site for few months, and I earned nothing, but had many users visiting site.

The things are simple: "They want to stay night in hotel without paying for room.".
That is simply not working this way, and I have nothing against ones that will leave: "You don't have to stay at the hotel, but if you do, you will pay."

If script was not working I would put paywall.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22841
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: Blocking Adblock users?

Post by Mick »

If you’re having issues getting some third party code to work the author is the only place to go for assistance, that’s the same for extensions on this site. The fact that it works with WP is irrelevant, this isn’t that.

https://blockadblock.com/help.php
"The more connected we get the more alone we become" - Kyle Broflovski©
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52141
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Blocking Adblock users?

Post by Brf »

david63 wrote:
Wed Sep 23, 2020 9:33 pm
Any site that I visit that does not allow me to blocks ads I just walk away from.
That, or make an adblock rule to block the adblocker. I made one of those for the weather.com website.
User avatar
PlanetStyles.net
Former Team Member
Posts: 4671
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: Blocking Adblock users?

Post by PlanetStyles.net »

Can you post the script here?

It looks like there's some kind of sign-up required to try it on their website and I'm too lazy to do that.

Will be happy to look into this, although I agree with the sentiment of the others above. It's a sure-fire way to lose visits fast.
User avatar
AmigoJack
Registered User
Posts: 5782
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Blocking Adblock users?

Post by AmigoJack »

mll wrote:
Wed Sep 23, 2020 9:19 pm
it is on this site https://blockadblock.com/.
Welcome to the internet. Please link to the actual download, not just a website in general - that's what links are for. If you care for details you're prone to solve detail problems like the one you have/had now.
mll wrote:
Wed Sep 23, 2020 9:39 pm
That is simply not working this way, and I have nothing against ones that will leave
The idea of the internet is to spread information, not making profit. If maintenance cost is a problem to you then also consider closing your website instead.
mll wrote:
Wed Sep 23, 2020 9:39 pm
The script itself works
In theory. Practically a lot of things are classified as "uses AD blocker" for it, even if neither a generic AD blocker was used, nor "the" AD blocker. I've encountered this numerous times just because I allow almost nothing thru uMatrix and websites mostly insist I should switch off something which I don't even use (that's the irony: I already switched off most things). And when I turn off JS entirely for your website I'm not even bothered with that nag message to begin with and can browse your board freely.
  • The worst thing about censorship is ███████████
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
User avatar
spaceace
Registered User
Posts: 1993
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: Blocking Adblock users?

Post by spaceace »

mll wrote:
Wed Sep 23, 2020 9:19 pm
Hi.
There is a script to block adblock users, and it is on this site https://blockadblock.com/.
However, when I add it in overal header or footer I am getting error Uncaught SyntaxError: Unexpected token '}'

This is my forum link: https://forum.mllapan.com/

Is there an solution for this?
well, even https://blockadblock.com/ cannot stop the functions of uBlock Origin to block ads as well as block the anti ad blocker scripts. even though it's supposed to :lol: as mentioned above, when most people get hit with an anti ad block page, they simply move on. i for one hate ads, they do nothing for me, and certainly do not entice me to spend my time or money. the only ads that even remotely interest me are movie/show previews as i watch a lot of movies. i have a nice sony stereo in my truck that i don't even use the tuner on because i hate ads that much and only listen to usb or satellite radio. my theory is, if you can't afford it, don't do it. web hosting is not that expensive. i'm unable to work due to health issues and forced to live off my wife's fixed income and am pretty much completely broke all the time but still pay my yearly hosting.

in the end, i can freely browse your site with that script in place making all of your effort undone in about 2 seconds. don't misinterpret this as an act against you or your site but just as some info from someone who hates ads
Post Reply

Return to “phpBB Custom Coding”