What is the code to open lightbox if adblocker is found?

Can anyone give me the code to open lightbox if an adblocker is found? I’ve tried looking at a few discussions but none of them seem to answer my question