I tracked the problem down to SafariStand -- in particular, its site alteration feature (which was high on my list of suspects from the beginning). So if you want to use SafariStand with Safari 3, you'll have to switch the site alteration feature off.

