[rellect] AdBlock Detector [Deleted]

Very nice addon, thanks!

Any tips on styling the pink notice,e.g. change the background colour. Using inspect element i thought I had the right css, but only changed the border colour.

Doh, just saw this:

To customize the styling (colors and sizes), you can go to Appearance > Style Properties > [rellect] AdBlock Detector
 
Very nice addon, thanks!

Any tips on styling the pink notice,e.g. change the background colour. Using inspect element i thought I had the right css, but only changed the border colour.

Doh, just saw this:
To quickly go to the right, search 'rellect_adb_notice' in the admin search.
There you'll find in the Miscellaneous box, the following css:
HTML:
background: #FCD4D4 url('@imagePath/xenforo/gradients/category-23px-light.png') repeat-x top left;
You just need to replace #FCD4D4 with the color you prefer. Don't worry about the other part of this code, it will give some effect to the color. If you wish to remove this and have a solid color, then it should look like this:
HTML:
background: #FCD4D4;

BTW, I know that it makes more sense to put this code in the Background box, but there was a reason why I put in the Misc (which honestly I don't remember, this was years ago).
 
BTW, I know that it makes more sense to put this code in the Background box, but there was a reason why I put in the Misc (which honestly I don't remember, this was years ago).

No problem i found it in Style properties and realised I should do that.

I think it would be good to mention this in the resource overview as it had me scratching my head not knowing there was a style property and the insect element of Chrome not being very useful.

Thanks agin, I'm probably about to give you a good 5 star review
 
No problem i found it in Style properties and realised I should do that.

I think it would be good to mention this in the resource overview as it had me scratching my head not knowing there was a style property and the insect element of Chrome not being very useful.

Thanks again, I'm probably about to give you a good 5 star review
I'll appreciate that, thanks :)
Also noted to myself about the style properties, I really need to write a FAQ page.
 
I'm a bit confused by the permissions

I have set for a group:

Bypass no
Dismiss yes
Show alert: 8

If I dismiss the notice while testing, it doesn't come back (but I'm assuming it will come back in 8 hours.

However it comes back if you log out then log in again. I would not expect that, or is that the way it is?

The time before an alert comes back only applies if the user stays logged in?
 
I'm a bit confused by the permissions

I have set for a group:

Bypass no
Dismiss yes
Show alert: 8

If I dismiss the notice while testing, it doesn't come back (but I'm assuming it will come back in 8 hours.

However it comes back if you log out then log in again. I would not expect that, or is that the way it is?

The time before am alert comes back only applies if the user stays logged in?
Yes that's to be expected.
When user hides the alert, a cookie is created and based on this cookie it will be decided when to show the alert again. But once user logs out, all his cookies are being cleared automatically.
 
Is that the same for all browsers? I thought cookies were kept until you manually delete them.
Yes this is applies to all browsers.
It's true that cookies should be kept but xenforo deletes all cookies as part of the log out process.
 
eva2000 said: Just curious if there's a way to tally/record and count how many times adblock detection is triggered?

Stats are in my todo list, it's in progress but I don't have much time to work on that so it may take a while until I'll add this feature.
Was curious if this was implemented yet? For now, I'm more interested in purchasing the add-on just to see how many of our users employ an AdBlocker in their browser.
 
I tried to go there earlier, from another reference someone made to it, but I got this screen...

Screen Shot 2016-02-04 at 10.27.25 PM.webp

When I clicked on the View details link, one comment stated:
This site does not directly host malware, spam, etc BUT actively promotes ways to do so under the false pretense of helping advertisers "reclaim adblocked revenue".

The site tries to circumvent adblock and hosts ads that promote misleading/fake claims like "fake download button" ads, "your PC has been infected" ads, "click here to claim your prize", etc. The type of ads that make novice users panic, click and accidentally install the malware/crapware that these "advertisers" intentionally offer.
Which made me leery enough to seek some other way to accomplish such.

EDIT: See my post, after investigating the website further.
 
Last edited:
I had no issue like that. Delivering ads to adblock users is optional. I did not opt for that. I just used it to measure adblockers. I have no idea what kind of ads they deliver.
 
...I just used it to measure adblockers.
After perusing their 20 page PageFair Terms and Conditions document, I went ahead and created a Free account.

It was just as you said, they give you a snippet of code that: "Enables adblock detection and measurement" only. (y)

From everything I can tell, they seem to be a legit operation that can help administrators to determine how many of their users are employing AdBlocking techniques.
 
Last edited:
depending upon how many people are blocking their own code, it should be fairly accurate :)
anyhow. i was surprised and frankly pleased to see that the percentage was below 15% on my forum.
 
depending upon how many people are blocking their own code, it should be fairly accurate :)
anyhow. i was surprised and frankly pleased to see that the percentage was below 15% on my forum.

PageFair's stats are highly inaccurate. Because most Ad-Blockers block their scripts too, thus not getting counted. You could easily double their stats to get a more realistic result.
 
right. is there another way to get a more accurate figure? for example running the code inline into the web page?
 
right. is there another way to get a more accurate figure? for example running the code inline into the web page?

We use our own locally hosted detection script since several years which doesn't get blocked by ad blockers. When we compare it with PageFair, we see a large gap in the stats.
 
Back
Top Bottom