change the api to be more conprehensive. It's now based on the visibility of the probe element
documentation on how to block an event
improve condition to trigger (or not) an event