I ended up disabling both web services and the messaging system under System Administration - Advanced Features, as we are not using them, and the undefined pop-ups disappeared. It's a band-aid to the CORS issue but works for us since we're not using those two items and gets rid of the annoying pop-ups.
General developer forum
Pop-ups undefined and web services error
This discussion has been locked so you can no longer reply to it.