From on + look + -er, probably from the verb look on, but compare with onlook.
onlooker (plural onlookers)