Javascript 如何使一个嵌入式谷歌群组框架在登录后重定向回网站?

Javascript 如何使一个嵌入式谷歌群组框架在登录后重定向回网站?,javascript,html,frame,google-groups,Javascript,Html,Frame,Google Groups,我使用此框架嵌入了一个: <iframe id="forum_embed" src="javascript:void(0)" scrolling="no" frameborder="0" width="900" height="700"> </iframe> <script type="text/javascript"> document.getElementById('forum_embed').src = 'https:/

我使用此框架嵌入了一个:

<iframe id="forum_embed"
  src="javascript:void(0)"
  scrolling="no"
  frameborder="0"
  width="900"
  height="700">
</iframe>
<script type="text/javascript">
  document.getElementById('forum_embed').src =
     'https://groups.google.com/forum/embed/?place=forum/democracyfoundation'
     + '&showsearch=true&showpopout=true&showtabs=false'
     + '&parenturl=' + encodeURIComponent(window.location.href);
</script>

document.getElementById('forum_embed').src=
'https://groups.google.com/forum/embed/?place=forum/democracyfoundation'
+“&showsearch=true&showpopoout=true&showtab=false”
+“&parenturl=”+encodeURIComponent(window.location.href);
在用户登录到谷歌发布新帖子后,他将被重定向到一个空白页面,而不是返回网站。我怎样才能使它重定向到网站中的谷歌群组框架