If you intend to secure your content server-side, please use one of the following options to check users’ access before serving the content on the page.
Entering reader mode or using browser plugins that tamper with JavaScript may enable users to access the content that has been loaded on the page. In order to prevent non-paying users from accessing premium content, we recommend that you remove the content from the page when a paywall offer is displayed, and replace it with an “inline offer”, read more about how to create an inline template container.
For example, entering reader mode will generate the presented content only at the time the user requests it. This means that if you remove the content from the premium page with JS (eg. in Run JS card, or by using showOffer callback) at the same time when the offer is presented - reader mode won’t be able to capture the content.
Example:
If an inline container that wraps the content is implemented then you can try to use a Run JS card when the offer is presented with the following command to remove the content from the page:
jQuery(function($){$('.piano-inline-offer-container').html('')})