Facebook ו-Google OAuth בחלון חדש?

Yup! So really my main question is — where is the code that is triggered when someone clicks Connect with Facebook or Google? How can I override it? Maybe in the site theme JS, so I don’t have to develop a plugin?

All I want to do is replace window.location.href = … with window.open()