【发布时间】:2014-08-23 06:25:09
【问题描述】:
在我的 Firefox OS 特权应用中,我需要通过 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);
上述试图打印文档标题的语句导致错误
Error: Permission denied to access property 'document'
我需要从文档标题访问 Google 身份验证“代码”。
如何解决权限问题?
提前致谢。
【问题讨论】:
标签: javascript firefox firefox-os