[adblock_hide] BB code to protect content from ad blockers in threads [Deleted]

alexD

Well-known member
This is a general support thread for the Datio\AdblockHideBbCode add-on.

Have a look at the FAQ and feel free to ask any unanswered questions or discuss any problems you might have faced related to this add-on.
 
The following attachments exist in the resource overview page:
https://xenforo.com/community/attachments/before_hidden_content_is_fetched_or_revealed-png.186722/
https://xenforo.com/community/attachments/after_hidden_content_is_fetched_and_revealed-png.186723/

The source (BB code) of that example post:
HTML:
Some text:
[size=9px]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pseudo Latin mumbo jumbo.[/size] [adblock_hide]this [b]inline[/b] content will remain hidden if an ad blocker is active, yet[/adblock_hide] this content is always visible for everybody. [size=9px]Nat sit amet dolor ut dui egestas volutpat.[/size]

An interesting tweet (embedded through the third party [i]s9e Media Sites[/i] add-on):
[adblock_hide]https://twitter.com/sebmarkbage/status/1057392329739296768[/adblock_hide]


Testing 3rd party BB codes (e.g. from the [i]Editor & BB Code Manager[/i] add-on).
[adblock_hide][hidereplythanks]Congratulations, you can see this text because you've got your ad blocker disabled, have liked the OP and replied in this thread.[/hidereplythanks][/adblock_hide]


And a picture I found on reddit:
[adblock_hide][img]https://i.redd.it/q1gbpjme6jv11.jpg[/img][/adblock_hide]
 
Last edited:
Promising. alex. Good job.

What I don´t understand is,
  • how those bb-codes will be implemented into posts. Has this to be done manually or does it happen on the fly?
  • If it´s done automaticly via the system, do I have control in which parts of the site I´ld like the rules to apply? For example: active in gallery, but inactive in posts.
  • how do search engine interact with those bb-codes? For example: is the GoogleBot recognized as using AdBlocking-software? Will a SE-bot see the page different, as a user without adblocking software (regarding penalties for cloaking or DC)?
 
@Sperver Thanks for considering it and for your valid questions.

how those bb-codes will be implemented into posts. Has this to be done manually or does it happen on the fly?
The [adblock_hide] is a manual BB code, in the sense that it won't hide whole or parts of posts automatically (at least not in the current version).
It can be extended thought, either in a future release or by other add-ons. It'd be as simple as putting the whole message contents inside that BB code before rendering it.

Do you have any example criteria you'd find useful?
One from the top of my head, would be to hide a whole post after it gets a certain amount of likes. The number of likes is a good indicator for the message popularity or its usefulness (meaning that it would probably be worth disabling an ad blocker to be able to see it). Maybe you think of something date related?

If it´s done automatically via the system, do I have control in which parts of the site I´ld like the rules to apply? For example: active in gallery, but inactive in posts.
The current version only supports hiding content in thread posts. Not in the gallery, the resource manager, or the conversations.
Is the gallery the content type you'd like to see supported next?

how do search engine interact with those bb-codes? For example: is the GoogleBot recognized as using AdBlocking-software? Will a SE-bot see the page different, as a user without adblocking software (regarding penalties for cloaking or DC)?
Modern search engines can and indeed do execute client JavaScript. As far I know they don't use ad blockers and they wait around 5 seconds after the page loads so they should see the full content.
Search engines aren't specially treated, so I don't think there's a risk the pages get flagged for cloaking.
 
Back
Top Bottom