Refused to display in an frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

后端 未结 4 1284
再見小時候
再見小時候 2020-12-11 19:10

FOllowing the video and sample code from https://developers.google.com/drive/web/quickstart/quickstart-js to upload any file from local system to google drve i was

4条回答
  •  独厮守ぢ
    2020-12-11 19:31

    I don't know if this is still relevant, i got the same error loading a google docs in an iframe. After stripping the page of everything i had, removing the doctype solved my issue. After this i found out there was a parameter ?embedded=true which allowed me to load it in a fancybox, which looks nicer anyway. Hope it helps any1, sorry if it's not relevant for you.

提交回复
热议问题