![](/img/trans.png)
[英]The frame requesting access has a protocol of 'https', the frame being accessed has a protocol of 'http' for Linkedin
[英]Google wallet error: The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “http”
我正試圖啟動並運行谷歌錢包,並遵循“入門”教程 。 當我調用javascript庫的時候
<script src="https://sandbox.google.com/checkout/inapp/lib/buy.js"></script>
我在控制台中收到以下錯誤:
Blocked a frame with origin "https://sandbox.google.com" from accessing a frame with origin "http://localhost:12098". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
inject.js:211
(anonymous function) inject.js:211
我試圖使用
<script src="https://sandbox.google.com/checkout/inapp/lib/buy.js"></script>
但我得到了同樣的錯誤。 我甚至把我的應用程序放在https地址上,仍然出錯。 是否有一個技巧我想要加載這個?
我很確定你可以通過使用http而不是https來解決這個問題。
還要確保清空緩存。 在chrome中按ctrl + ⇧ + ⌫或⌘ + ⇧ + ⌫
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.