on sight
As soon as someone or something is or can be seen. Police have orders to shoot the suspect on sight.
do something on ˈsight
do or feel something as soon as you see somebody/something: She complained constantly about the hotel, which she hated on sight.The soldiers were ordered to shoot on sight.