JSFiddle - React, Tailwind, and code Playground
HTML
<div id="google_ads_frame1" style="display:none">aa</div>
JavaScript
setTimeout(function(){
if($("#google_ads_frame1").css('display')=="none")
{
$('body').html("We noticed you have an active Ad Blocker. Example.com is ad funded, we promise our ads are of high quality and are unobtrusive. The best help you could provide to keep us running, is to whitelist us in your ad blocker. Thanks!");
}
},3000);