C
C
checky2016-02-16 02:19:46
PHP
checky, 2016-02-16 02:19:46

How to block OAuth authorization popup from opening?

I mean windows such as new tabs, for example, when you log in to Toaster, when you click on the Google logo (authorization through Google is the rightmost round button), just such a window opens.
I use the VKontakte comments widget https://vk.com/dev/Comments
and when unauthorized users click on it, this popup authorization window opens https://oauth.vk.com/authorize?client_id=-1&redire...
here I am it is necessary that this does not happen.
maybe there is some general command for the entire dom that prohibits the opening of such windows?
or some other way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Ovchinnikov, 2016-02-16
@ova777

This will not work, because. the comments widget is loaded in an iframe, so this is a separate browser scope that you don't have access to from the main page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question