code: function checkTimeCriteria() {
      // don't bother if another box is currently open
      if( isAnyBoxVisible() ) {
          return;
      }
  
      boxes.forEach(function(box) {
          if( ! box.mayAutoShow() ) {
              return;
          }
  
          // check "time on site" trigger
          if (box.config.trigger.method === 'time_on_site' && siteTimer.time >= box.config.trigger.value) {
              box.trigger();
          }
  
          // check "time on page" trigger
          if (box.config.trigger.method === 'time_on_page' && pageTimer.time >= box.config.trigger.value) {
              box.trigger();
          }
      });
  }
docs: check time trigger criteria for each box