问题
I'm using the interactive post feature from Google+, but it's being blocked
- Claimed origin not in whitelist: https://googledrive.com
- Unsafe JavaScript attempt to access frame with URL
My Google APIs Console is using the URL from the website as JavaScript origin, all there looks right.
https://developers.google.com/+/features/interactive-posts
Thanks.
回答1:
Google Drive is available from multiple origins, you might be missing some of these possibilities from your APIs Console project, for example:
https://drive.google.com
http://drive.google.com
https://googledrive.com
https://www.googledrive.com
http://googledrive.com
http://www.googledrive.com
Each of those is considered a different origin. Plus depending on what you're doing, it could be on docs.google.com too.
来源:https://stackoverflow.com/questions/15139352/sharing-interactive-posts-from-google-on-google-drive