Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have written a Google Web App Script that is embedded in a Google Site. It runs fine on desktops (bar Firefox on Mac, actually. Anyhow...), but not on an iPad in Safari / iOS 7.0.4 (it's fine on iOS Chrome).

It looks as though, even though I am logged in to my Google Account the embedded Web App Script is trying to redirect me to a login page within the embedded gadget and is causing a X-Frame-Options 'DENY' error. The error log is:

Refused to display 'https://accounts.google.com/ServiceLogin?service=writely&passive=1209600&continue=https%3A%2F%2Fdocs.google.com%2Faccounts%3FcontinueUrl%3Dhttps%3A%2F%2Fsites.google.com%2Fmacros%2Fs%2FAKfycbw8St0FpTzsB3NXrmqvW5QaJlZHqITvwPTOfJT79kZpOplVUd5c%2Fexec%3Fauthuser%253D1%2526mid%253DACjPJvEeSkixINTOkuuSk3xstr-_B26JffcVXgFe1DjzAAOfddhZZpdXDG7HWGUt0MwD72V1Ld-F8TqhAdDlWnsOPq-EdDpbFtKzVj7UBUpgmJBkRfwR7evBzvNpo88r%2526bc%253Dtransparent%2526f%253DArial%2C%252BVerdana%2C%252Bsans-serif%2526tc%253D%252523000000%2526lc%...Url%3Dhttps%3A%2F%2Fsites.google.com%2Fmacros%2Fs%2FAKfycbw8St0FpTzsB3NXrmqvW5QaJlZHqITvwPTOfJT79kZpOplVUd5c%2Fexec%3Fauthuser%253D1%2526mid%253DACjPJvEeSkixINTOkuuSk3xstr-_B26JffcVXgFe1DjzAAOfddhZZpdXDG7HWGUt0MwD72V1Ld-F8TqhAdDlWnsOPq-EdDpbFtKzVj7UBUpgmJBkRfwR7evBzvNpo88r%2526bc%253Dtransparent%2526f%253DArial%2C%252BVerdana%2C%252Bsans-serif%2526tc%253D%252523000000%2526lc%253D%2525230066cc%26urp%3Dhttps%3A%2F%2Fdocs.google.com%2Faccounts%3Fauthuser%253D1%2526contin&btmpl=mobile&ltmpl=mobilex&authuser=0' in a frame because it set 'X-Frame-Options' to 'DENY'.

Can anyone tell me how to allow a Google App Script to display in a Google site on an iPad in Safari? Seems to me quite a fundamental issue!


share|improve this question
Even if I follow the above link on the iPad, login and revisit the Google site page, the same error is displayed... –  neb Feb 20 '14 at 9:28
This seems rather iPad specific. Perhaps Ask Different is a better place to ask. Also, while we generally allow Google Apps Script questions, as well as Google Sites questions, this has delved rather far into web development and seems beyond the scope of this site. Stack Overflow might be a better place to ask. –  Al E. Feb 20 '14 at 13:22
Thanks for the heads-up. I have posted it on StackOverflow: stackoverflow.com/questions/21903790/… –  neb Feb 21 '14 at 8:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.