2017-10-12 36 views
0

我正在開發一個內部Google網站,並且一直在利用嵌入式應用程序腳本來促進網站上更復雜的功能。我遇到了一個障礙,但我想提供編輯記錄的能力,利用已經開發的另一個頁面,但使用按鈕從Web應用程序導航到它。點擊按鈕時,它會將iframe父級(站點)導航到我所需的URL。目前,我收到一個javascript錯誤,指出從嵌入式應用程序腳本導航父網站

> "VM804:5 Unsafe JavaScript attempt to initiate navigation for frame 
> with URL 
> 'https://n-z2vljuo5gowvr7ouc7uiijx7cxg3lrswlus2nqq-0lu-script.googleusercontent.com/userCodeAppPanel' 
> from frame with URL 
> 'https://n-z2vljuo5gowvr7ouc7uiijx7cxg3lrswlus2nqq-0lu-script.googleusercontent.com/userCodeAppPanel'. 
> The frame attempting navigation is sandboxed, and is therefore 
> disallowed from navigating its ancestors." 

有沒有其他人有類似的問題,並能解決這個問題?

回答