Roughly 40% of web users use adblock, which can significantly reduce ad revenue. We offer an Adblock API which enables you to prompt adblock users to support the site. This API is available as a separate module that you can add to your site by including an additional script tag. We designed this module to be fast and lightweight, with a gzipped size of under 0.3 kB and requiring no external dependencies.Documentation Index
Fetch the complete documentation index at: https://docs.rev.iq/llms.txt
Use this file to discover all available pages before exploring further.
Enable Wrapper Adblock API
Add the Adblock API Module code to the <head> section of your webpage. We put anid so you can remember what
it’s for :)
Using the Adblock API
Note: You should NOT use the command queue (
reviq.push(cmd)) for
these functions. These functions are always available immediately after the
Adblock API Module is loaded.showAdblockModal that shows a modal asking
users to disable adblock.
reviq.onAdblock(cb): runs a callback cb if adblock is detected
checkAdblock(): must be awaited and returns true if adblock is detected, false otherwise