In my preferred Firefox OS application, I need authentication with Google.
uri=https://accounts.google.com/o/oauth2/auth............ var googleWin = window.open(uri, 'auth_window', 'fullscreen=0,width=200,height=100,resizable=1'); console.log(googleWin.document.title);
The above statement, which is trying to print the document title, results in an error
Error: Permission denied to access property 'document'
I need to access the "auth" Google code from the name of the document.
How to solve the permission problem?
Thanks in advance.
anfas source share