Refreshing a page opened with [removed].replace or window.open(url,'_self') takes me to previous window

后端 未结 1 1248
囚心锁ツ
囚心锁ツ 2020-12-07 06:28

I have a published google web app that I am using as a splash screen. When I click a button on this screen it correctly takes me to the page (using either of the methods be

相关标签:
1条回答
  • 2020-12-07 07:03

    Since your app is loaded in a sandboxed iframe, you should use

    window.open(myurl,'_top')
    

    to load in the top frame

    0 讨论(0)
提交回复
热议问题