r3315 redirectIfNecessary(): also handle tab triggering; execute only